Python

A py2exe tutorial – Build a Binary Series!

I received a request to create an article on how to use py2exe and wxPython to create an executable. I decided to do a series on packaging instead. It is my intention to go over the major Windows binary building utilities and show you, dear reader, how to use them to create a binary that […]

A py2exe tutorial – Build a Binary Series! Read More »

wxPython: Creating a Simple Media Player

A few months ago, I wrote about creating a simple MP3 Player using wxPython’s MediaCtrl widget. Since then, a fellow released the MplayerCtrl, a wxPython widget that wraps mplayer, a popular cross-platform media player. I actually ended up switching my MP3 Player’s backend to use this new control, but that’s a story for another post.

wxPython: Creating a Simple Media Player Read More »

The Dialogs of wxPython (Part 2 of 2)

For the second half of this series, I discovered that there are even more dialogs than I originally thought. While it would have probably been a good idea to have split this into three parts, we’re going to stick with just two. In this article, we’re going to cover the following dialogs: GenericMessageDialog (AGW) ImageDialog

The Dialogs of wxPython (Part 2 of 2) Read More »

The Dialogs of wxPython (Part 1 of 2)

Dialogs are an integral part of user interface design. We use them all the time. We find dialogs everywhere, in many shapes and sizes. In this article we will cover the following dialog types: wx.BusyInfo wx.ColourDialog CubeColourDialog (AGW) wx.DirDialog and MultiDirDialog (AGW) wx.FileDialog wx.FontDialog wx.MessageDialog That’s a lot of dialogs, but there’s still eight more

The Dialogs of wxPython (Part 1 of 2) Read More »

wxPython: A Tour of Buttons (Part 2 of 2)

In the last article, we covered a wide variety of buttons that come with the standard wxPython package. Now we’re going to look at a whole bunch more! In case you haven’t figured it out yet, wxPython takes Python’s “batteries included” philosophy very seriously! In this post we’ll look at the following buttons: wx.RadioButton wx.SpinButton

wxPython: A Tour of Buttons (Part 2 of 2) Read More »

Manipulating PDFs with Python and pyPdf

There’s a handy 3rd party module called pyPdf out there that you can use to merge PDFs documents together, rotate pages, split and crop pages, and decrypt/encrypt PDF documents. In this article, we’ll take a look at a few of these functions and then create a simple GUI with wxPython that will allow us to

Manipulating PDFs with Python and pyPdf Read More »