参考https://blog.csdn.net/ATOOHOO/article/details/87854272
test.py
def application(env, start_response):
start_response('200 OK', [('Content-Type','text/html')])
return [b"Hello World"]
启动uWSGI服务器
uwsgi --http :8000 --wsgi-file test.py
参考https://blog.csdn.net/ATOOHOO/article/details/87854272
def application(env, start_response):
start_response('200 OK', [('Content-Type','text/html')])
return [b"Hello World"]
uwsgi --http :8000 --wsgi-file test.py