Install uWSGI
$ pip install uwsgi
Make an application
$ vi foobar.py
def application(env, start_response):
start_response('200 OK', [('Content-Type','text/html')])
return [b"Hello World"]
Run uWSGI
$ uwsgi --http :9090 --wsgi-file foobar.py
Check the result

References: