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
View Code

相关文章:

  • 2021-12-12
  • 2021-06-28
  • 2021-11-18
  • 2021-08-01
  • 2021-07-22
  • 2022-12-23
  • 2021-12-20
猜你喜欢
  • 2021-06-25
  • 2021-04-12
  • 2022-12-23
  • 2021-09-18
  • 2021-11-24
相关资源
相似解决方案