March 2014

Creating Microsoft Excel Spreadsheets with Python and xlwt

There are a couple of ways to create Microsoft Excel spreadsheets with Python. You can use PyWin32’s win32com.client method, which was discussed in an old article a number of years ago or you could use the xlwt package. We’ll be looking at the latter in this article. You will learn how to create an Excel

Creating Microsoft Excel Spreadsheets with Python and xlwt Read More »

Python 3.4 Released Today!

Python 3.4 released today (2014-03-17) and includes a lot of neat stuff. According to the Python Insider, these are the major changes / additions: PEP 428, a “pathlib” module providing object-oriented filesystem paths PEP 435, a standardized “enum” module PEP 436, a build enhancement that will help generate introspection information for builtins PEP 442, improved

Python 3.4 Released Today! Read More »

wxPython: Catching Exceptions from Anywhere

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

wxPython: Catching Exceptions from Anywhere Read More »