In 2009, I was tinkering with the Windows multimedia subsystem and I wrote a short program to play MP3 audio files from the command-line ( cmdmp3.exe ). I created a second program that was a GUI application ( cmdmp3win.exe ) for those who didn’t want the console window to show. Althought it’s technically a GUI application, no visible user interface is present unless an error occurs.
I have released a new version of the sources and executable programs tonight ( 26 Jan 2024 ).
Once Upon a Time In 2009, I created an image capture utility for Windows called Pic2File. It wasn’t like a number of capture utilities. For Pic2File to function, images needed to be copied to the Windows clipboard. Pic2File would scan the clipboard periodically for images. If image content was present on the clipboard, it would save the image to the specified file format in a sequentially-numbered file. It then clears the clipboard data.
I had read the first edition of this book in 2015-ish. That version was very intriguing, but it exclusively used Python version 2 for all examples. This was a time when the language was known to be in transition to version 3, although many were doing so somewhat cautiously, if at all.
The 2nd edition of this book covers the same material with updates that include usage of Python 3 and the appropriate counterpart libraries.
Portions of this post were previously published on Sun, 26 Jun 2011.
I read the book Grey Hat Python : Python Programming for Hackers and Reverse Engineers by Justin Seitz. The book introduced the Python ctypes library to me. The ctypes library, allows a Python program to access to lower-level features of the operating environment normally reserved for C programmers.
As an early experiment, I rewrote in Python the bulk of the command-line MP3 player I had originally written in C.