Soon after getting hired at my current job, my boss sent me a script (which I think was based on this article) about Python and a certain text-to-speech module called pyTTS. This was right after Python 2.5 had released. Anyway, it's basically a nice wrapper over the win32com module which can communicate with the Microsoft […]
Last week, I was trying to find out how to get my photo's metadata. I had noticed that Windows could display the camera model, creation date and lots of other data on my photos, but I couldn't remember what that data was called. I finally found what I was looking for. The term is EXIF […]
Have you ever wanted to restart your Windows PC with out pressing Start, Shutdown or CTRL+ALT+DEL? What about restarting your annoying co-worker's PC...the one who just doesn't know when to shut up? Well, Python has the answer and this blog will tell you how to do it!
The other day, I was chatting with some wxPython newbies on the wxPython IRC channel and one of them wanted to know how to display images in wx. There are lots of different ways to do this, but I had a pre-made solution that I'd cobbled together a couple of years ago for work. Since […]
Python's standard library is known for including lots of handy modules and packages that can be used without installing anything else. That's one of the primary reasons that its standard library is called "batteries included" so often. So it should come as no surprise that Python includes a Windows only module for editing the Windows […]
Yesterday, I received a request to create a GUI with Tkinter or wxPython that had an image for the background with buttons on top. After looking at Tkinter, I discovered that it's PhotoImage widget only supported two formats: gif and pgm (unless I installed the Python Imaging Library). Because of this, I decided to give […]