1.虚拟环境中下载uwsgi模块-------pip install uwsgi
2.脚本运行案例
新建一个test.py脚本文件,写入如下内容:
1 def application(env, start_response): 2 start_response('200 OK', [('Content-Type','text/html')]) 3 return [b"Hello World"] # python3
1.虚拟环境中下载uwsgi模块-------pip install uwsgi
2.脚本运行案例
新建一个test.py脚本文件,写入如下内容:
1 def application(env, start_response): 2 start_response('200 OK', [('Content-Type','text/html')]) 3 return [b"Hello World"] # python3
相关文章: