Never knowingly knowing narwhals

Category Archives: Python

Beep My Stuff enters public Beta

After a rather long period in closed beta I’ve opened Beep My Stuff to a public beta. Beep My Stuff is a web site that makes it FREE and easy to create an online library of your Books, Movies, Video Games and Music. Check it out, all feedback is much appreciated. It’s built with Turbogears, [...]

Mutlipart file upload in Turbogears 1.0.x

When uploading files to Beep My Stuff using SWFUpload I was getting this error: data = self._sock.recv(self._rbufsize) timeout: timed out Uploading files to a TG1.0.x app is easy unless you want to do something nice like use SWFUpload to allow multiple files to be selected for upload. The reason for this is that Flash has [...]

Replaying apache log files with python and twill

In order to test for a memory leak in New Metal Army I needed to replay my apache log files against my test server. Using Twill this was a doddle. The only slightly icky thing about the script is the regular expression to parse a line from the apache log file (in Combined Log Format). [...]