Home » Blog

Search any Site from Chrome's URL Bar

Being a web developer means referencing online documentation all the time. Google Chrome allows you to do this is a brilliantly efficient way. Here's how to do it. # Go to the site you want to search and use it's search function to find an arbitrary word. I used read more…

Setuptools Zipimport IOError

After installing Python's Pygments module on my slice I ran into the following error when trying to run a django app. @IOError: zipimport: can not open file /usr/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg@ After far too much fruitless Googling I decided to simply rename the file read more…

Django Gotchas when moving to a Production Server

If you're a developer learning Python/Django then you're almost certain to run into some of the same issues that I did. In particular, when deploying to a production server, the admin throws a 500 error and when trying to troubleshoot, your changes have no effect. One of read more…

Python Module on Import Path Won't Import

I just ran into an interesting issue whilst implementing "Akismet":http://akismet.com/ spam protection on my contact form. Although the akismet.py module was on my import path, the module wouldn't import in a python shell. What I'd done is downloaded the module from "Void Space":http read more…

Changing File Names with the Keyboard in Textmate

I've been using "Textmate":http://macromates.com/ for well over a year and it took me a significant portion of that time to work out (because I couldn't find any documentation) that you *can* actually edit a filename using the keyboard. Just select it and hit <space> This read more…

Problems with python-twitter

Although "python-twitter":http://code.google.com/p/python-twitter/ was working fine on my local development machine, I couldn't get it working on my Slicehost Ubuntu VPS. The error Django/Python would throw was: @'module' object has no attribute 'Api' twitter@ Basically if you get any error where a module read more…

A New Chapter in Django

I've been keen to breathe some life into my blog for a while. As with all things, there just never seemed an opportunity until that is, I was introduced to the rapid web application development framework, Django. So, to coincide with my taking on a full time position at read more…

Latest Tweet

Recent Posts

Elsewhere