A couple of months ago, Dzone contacted me to partner with them in finishing a Python cheat sheet that another writer had started. About two weeks ago, I found out that the other author was Naomi Ceder. Anyway, after lots of reviewing on DZone's part, they have finally released the finished product. You can check […]
Configuration files are used by both users and programmers. They are usually used for storing your applications settings or even your operating system's settings. Python's core library includes a module called ConfigParser that you can use for creating and interacting with configuration files. We'll spend a few minutes learning how it works in this article.
The wxPython GUI toolkit comes with lots of widgets. We will be covering some widgets that are somewhat harder to get ones mind wrapped around. In this case, we will be talking about splitter windows. WxPython includes three types of splitter windows: wx.SplitterWindow fourwaysplitter which you can find in wx.lib.agw MultiSplitterWindow which you can find […]
I do a lot of PDF report creation with Python using Reportlab. Occasionally I'll throw PyPDF in as well. So I'm always on the lookout for other mature Python PDF tools. PDFDocument isn't exactly mature, but it's kind of interesting. The PDFDocument project is actually a wrapper for Reportlab. You can get it on github. […]
September 6, 2013 by
Mike The other day, I wrote an updated version of my wxPython pubsub article for wxPython 2.9 and realized I had never gotten around to trying PyDispatcher to see how it differed from pubsub. I'm still not sure how it differs internally, but I thought it would be fun to "port" the pubsub code from the […]
September 5, 2013 by
Mike NOTE: This article is for wxPython 2.9-3.0. If you are using wxPython 4, you should go to my newer article Several years ago, I wrote a tutorial about wxPython 2.8 and its built-in pubsub module which you can read here. Back then, a new API for pubsub was added in wxPython 2.8.11.0 that could be […]