python

RedSnakePhilly 2012

February 25, 2012

I was asked to take a few photos for this event by fellow pythonista Tom Panzarella. I think they turned out OK for the most part – although the EF 70-200 L IS II saved my arse in the end. It was difficult shooting with the lighting setup at the venue, but I’ll be back [...]

Read the full article →

Python interpreter tab completion on OS X

October 9, 2011

This is mainly for me own reference, but it is probably something that other people will find useful. If you attempt to use the rlcompleter module on the Mac you’ll find that tab completion does not work correctly. Apparently this is because Apple ship a neutered version of readline. To get completion working you have [...]

Read the full article →

Scrapy dependency problems with lxml

September 18, 2011

Following the recent PhillyPUG meetup I was trying to install scrapy on an old MacBook Pro running OS X 10.6 (Snow Leopard) and ran into a number of problems with the lxml dependency. This is the parser used to extract data from pages that scrapy downloads so you are not going to get very far [...]

Read the full article →

Installing Python Imaging on Windows 64-bit (AMD64) Python

March 26, 2011

If you want need a 64-bit version of this module for Google App Engine, or another project, you can run into a couple of issues. Sticking to 32-bit versions of Python and PIL avoids these issues so that may be the best direction for newbies. The downloads on the PIL site are for 32-bit versions [...]

Read the full article →

Looking forward to PyCon 2010!

February 17, 2010

On Thursday I’m making the yearly pilgrimage to PyCon in Atlanta. This will be my third year and I’m sure it’ll be better than ever. For me the real highlights of this conference are the legendary open space sessions. The level of interaction and learning at these really sets it apart from other conferences. Last [...]

Read the full article →

Twitter to blog script

May 24, 2009

Based on an example provided with the Twitter library for Python I cobbled together the following script to add my latest tweets to this site. It’s called from a cron job that I run on an occasional basis. My script linkifies hashtags and @username tokens in tweets so that you can see search results or [...]

Read the full article →