#!/usr/bin/env python2.4 def app(environ, start_response): start_response('200 OK', [('Content-Type', 'text/plain')]) return ['Hello World!\n'] if __name__ == '__main__': import time time.sleep(15) # Typical of the loading times I've seen at Dreamhost from flup.server.fcgi import WSGIServer WSGIServer(app).run()