wxPython on OSX Mavericks with or without Homebrew
Just a short note for anyone else who runs into this nonsense: I could not get the current version of wxPython to install in a useful way using homebrew. brew install wxmac --python --devel to install into my Homebrew-controlled Python install worked …
I’m doing some work profiling a large Django application and I was running into this weird error when I tried to aggregate the stats with gather_profile_stats.py which comes with Django. It kept throwing TypeError: zip argument #1 must support iteration if there were two profile …
Django Command to Back Up to Amazon S3 with Python
If it’s of use to anyone, I wrote this fairly thick-headed script to look for the most recent versions of files matching one or more patterns in a directory, zip them up and back them up to Amazon’s …
Because I rarely use MySQL nowadays and because how often do you set up a new machine, this is a reminder to myself on how to get mysql-python installed in a virtualenv
Add /usr/local/mysql/bin to your path (permanently in your .profile)