What is the Python equivalent of Tomcat?

后端 未结 4 1820
花落未央
花落未央 2021-01-31 14:24

This question likely betrays a misconception, but I\'m curious what the \"Tomcat\" of the Python world is.

All of my web programming experience is in Java (or Groovy) so

4条回答
  •  抹茶落季
    2021-01-31 15:21

    There are different approaches which have one thing in common: They usually communicate via WSGI with their "container" (the server receiving the HTTP requests before they go to your Python code).

    There are various containers:

    • wsgiref - a very simple reference implementation which is nice during development
    • Apache with mod_wsgi
    • most other Webservers with a module adding WSGI support
    • many more

提交回复
热议问题