Use App Engine to do what you want.