Tech and travel

Posts

Google App Engine

2008-04-14

Python‘s creator, Guido Van Rossum, has been hinting at this for a while, and it’s finally here : Google App Engine. It’s a way to build and host web apps on the Google servers. I put a small app together, which is a very simple variation on the ‘The Django Form Validation Framework on Google App Engine‘ article. It let’s you login, and store some data on workouts. On to some code : import cgi import wsgiref.

Wallace and Gromit

2008-04-06

These guys were in the local John Lewis a few weekends ago : Cool.

New York

2008-03-21

I spent a few days in New York.

Wall street

Wall street

Sqlite with Python

2008-03-10

Python 2.5 has a SQLite library. The documentation says it best what this can be used for : SQLite is a C library that provides a lightweight disk-based database that doesn't require a separate server process and allows accessing the database using a nonstandard variant of the SQL query language. Some applications can use SQLite for internal data storage. It's also possible to prototype an application using SQLite and then port the code to a larger database such as PostgreSQL or Oracle.

A one line webserver

2008-03-03

Python has a built in webserver, that shows the contents of the directory it’s started in. Here’s how you run it : python -c "from SimpleHTTPServer import test; test()" This is invaluable if you have to copy some files across to another machine. It won’t work across the internet, but on a local network it can’t be beat. Yesterday I had to move a 2.4 Gig ISO file from the laptop PC to my Mac.

Copyright (c) 2025 Michel Hollands