Cross-Platform

This article will be about a topic that can be used across platforms, such as Linux, Windows and Mac.

Book Review: Practical Programming: An Introduction to Computer Science Using Python

Practical Programming: An Introduction to Computer Science Using Python By Jennifer Campbell, Paul Gries, Jason Montojo and Greg Wilson Amazon I received the book, Practical Programming: An Introduction to Computer Science Using Python as a gift last month from a family member. This book is by four authors: Jennifer Campbell, Paul Gries, Jason Montojo and […]

Book Review: Practical Programming: An Introduction to Computer Science Using Python Read More »

A cx_Freeze Tutorial – Build a Binary Series!

In this article, we will be learning about cx_Freeze, a cross-platform set of scripts designed to “freeze” Python scripts into executables in a manner similar to py2exe, PyInstaller, etc. We will freeze one console script and one window (i.e GUI) script, using the examples from the previous article in this series. If you haven’t done

A cx_Freeze 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 »