Python

Is related to the Python Programming language in some way

wxPython: All about Menus

Menus are ubiquitous. They’re in almost all desktop programs. You use them for editing preferences or configuring your program. In wxPython, there are several menu options to choose from. The most familiar is probably wx.Menu. But there are are popup menus and a pure Python implementation known as FlatMenu. We will just be covering wx.Menu […]

wxPython: All about Menus Read More »

Reportlab: Converting Hundreds of Images Into PDFs

I was recently asked to convert a few hundred images into PDF pages. A friend of mine draws comics and my brother wanted to be able to read them on a tablet. Alas, if you had a bunch of files named something like this: ‘Jia_01.Jpg’, ‘Jia_02.Jpg’, ‘Jia_09.Jpg’, ‘Jia_10.Jpg’, ‘Jia_11.Jpg’, ‘Jia_101.Jpg’ the Android tablet would reorder

Reportlab: Converting Hundreds of Images Into PDFs Read More »

PyCon USA Registration is Open and Tutorials Are Up

The 2012 Python Conference USA opened Registration today. The official announcement doesn’t mention it, but I’m pretty sure there’s an attendance cap on this conference too of 1500 just like last year. You should sign up early not only because of the limited attendance, but because there are “Early Bird” rates which are cheaper! The

PyCon USA Registration is Open and Tutorials Are Up Read More »

Python Voted Best Programming Language 3 Years Running

The Linux Journal readers have good taste. This is the 3rd year that they have voted Python as the Best Programming Language. Oddly enough, C++ is the runner-up. I personally liked C++ when I was in school, but the two languages are quite different. On the other hand, Python interfaces with C/C++ pretty well, so

Python Voted Best Programming Language 3 Years Running Read More »

wxPython: New Widget Announced: XLSGrid

Recently, Andrea Gavana, developer of the agw library in the wxPython code base, released his newest widget: XLSGrid. It’s purpose is to faithfully reproduce the appearance of a Microsoft Excel spreadsheet (one worksheet per every instance of XLSGrid). This widget is based on wx.grid.PyGridTableBase and wx.grid.PyGridCellRenderer and requires xlrd. Andrea also recommends using Mark Hammond’s

wxPython: New Widget Announced: XLSGrid Read More »