The other day, I came across an interesting project called sh, which I believe refers to the shell (or terminal). It used to be the pbs project, but they renamed it for reasons I haven't figured out. Regardless, the sh package is a wrapper around subprocess that allows the developer to call executables a little […]
I was recently looking into ways to get my screen resolution with Python to help diagnose an issue with an application that wasn't behaving correctly. In this article, we'll look at some of the ways to get your screen resolution. Not all of the solutions will be cross-platform, but I'll be sure to mention that […]
If you do much system administration, then you know that sometimes you have to write scripts that can move files between servers. I'm not really a system administrator by trade, but I did have to do this sort of thing in some of my programs anyway. Python has several 3rd party packages that provide this […]
The bbfreeze package also allows us to create binaries, but only on Linux and Windows. It's just an easy_install away, so if you plan on following along with the examples in the article, you should go get it. The bbfreeze package includes egg support, so it can include egg dependencies in your binary, unlike py2exe. […]
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 […]