Python decorators are really cool, but they can be a little hard to understand at first. A decorator in Python is a function that accepts another function as an argument. The decorator will usually modify or enhance the function it accepted and return the modified function. This means that when you call a decorated function, […]
Reportlab is a very flexible PDF creation package for Python. You can layout your documents using absolute positioning or by using Flowable objects, such as a Paragraph, a Table or Frame. You can even mix the two together! In this article, we will be looking at how to create some custom Flowables. For example, what […]
There's a Python book contest going on over on the Bite Sized Python Tips blog. You can get one of 3 copies of the book Tkinter GUI Application Development by Bhaskar Chaudhary. I reviewed this book late last year and found it be a really interesting book. I think it will give you lots of […]
The other day someone was asking a lot of questions on StackOverflow about how to work with wizards in wxPython. You can read the two original questions here and here. The code we'll be looking at in this example is what I used to answer the questions on Stack. The primary question was how to […]
This is an update on the Kickstarter campaign I am running in support of my Python 101 book: We made it halfway through the campaign and I think we're going to reach our first stretch goal! Speaking of stretch goals, I was thinking I should go ahead and announce a couple more. Stretch Goal #2: […]
February 26, 2014 by
Mike I had a lot of ideas for the cover of Python 101. My first idea was to go to the zoo and take some photographs of Pythons there, then pick the right one stick that on the cover. I have a lot of photo editing software, so I also considered taking the photo and changing […]