source code bean

Archive for the ‘Python’ Category

10 Aug, 2009

Playing with WSGI in Python (part 1)

Posted by: Peter In: Linux|Python|Web

Lately I have been playing around with WSGI in Python. WSGI is an interface between the web server and the web application, it is meant to simplify writing your own web framework in Python. My intention is not to write an fully fledged web framework, but rather just play around with some ideas I have [...]

A few months ago my employer asked me if it would be possible to create a web service for encoding videos. I had been playing around with Amazon’s web services for a while, and it seemed like the perfect foundation for building this. I decided to build the backend in Python and use ffmpeg for [...]

02 Mar, 2009

Parsing AJAX web pages using PyKHTML

Posted by: Peter In: Linux|Python

I needed to parse data from a series of web pages, usually i would have used CURL to download the page and then used regular expressions to extract the data i was interested in. But the page i was going to parse was using AJAX to reload part of the page (when you clicked the [...]


Adwords

About

Welcome to source code bean! On this site I post stuff that I encounter in my job and spare time. The content is mostly related to .NET development, but my interest in techonology is very broad, so often you will find posts on totally different subjects!