Over the weekend, I finished setting up a website for my upcoming book, Python 101. I discovered that www.python101.com is owned by squatters, so I got www.python101.org instead. It will redirect to http://python101.pythonlibrary.org because I think the book should be a part of Python Library while maintaining its independence. There isn't much content on the […]
We only have five more days before the end of the campaign, so I thought it would be nice to share a couple chapters from the book. You can download the introduction along with chapters 1 and 2 here. I have been working on the new section of the book since it is now the […]
The wxPython Google Group was discussing different methods of catching exceptions in wxPython the other day. If you use wxPython a lot, you will soon realize that some exceptions are difficult to catch. The wxPython Wiki explains why. Anyway, the fellows on the list were recommending the use of sys.excepthook. So I took one of […]
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 […]