Saturday, March 26, 2011
A Whirlwind of Python
I gave a fast paced talk about Python at work, you can download it here. (Unzip and open index.html)
Inside the zip file are also the files used to create the talk. I've used s5 as framework and generated slides from Python source files using Pygments.
Thursday, March 03, 2011
Convert oggs to mp3 - the fast way
I've created a quick script to convert all .ogg files in a given directory to .mp3 (using oggdec and lame). However it was running too slow to my taste, a good excuse to play with multiprocessing.Pool. On a short list of 4 .ogg files the processing time went from 32 seconds to 12 seconds.