March 25, 2008
Command-line iTunes Library Access
I wrote a Python script that can read and sort an iTunes playlist and then feed it to a command-line audio player of your choice. I wanted a quick way to listen and search my mp3 library from the console and without having to open up a large memory hog — and I also didn’t […]
February 10, 2008
If you’re working with RoboFab/NoneLab you’ll need a UFO file if you want your code to do anything constructive. The “United Font Object” is a working format developed by the RoboFab folks that is not a single file at all, but a directory structure that stores glyphs and font information as XML and plist […]
February 8, 2008
Plist files are an attack on civility. Let’s use Python to convert them to a JSON formatted file for easier data handling. We’ll explore using the Plistlib.py and SimpleJson libraries, badmouth XML a little, show some code, and have a rollicking good time.
For the occasion I’ve created plist2json.py, a command line script that converts a […]
January 26, 2008
RemoteTCP is a cross-platform implementation of the RoboFab Remote that allows FontLab to respond to calls from other applications over a network connection. It aims to have compatible syntax with the original remote when possible, but may require additional parameters when increased functionality is desired. Because RemoteTCP will execute Python commands from a remote client, […]
January 14, 2008
I’ve been playing around with Fontlab Studio 5 and was intrigued at the possibility of using Python scripts with it. Unfortunately Fontlab is unable to see my install because I’m running the current Python 2.5 version and Fontlab is only able to work with 2.4. Simply installing both does not work because Fontlab insists that […]