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