Python Forum
what is difference between python CGI and webapplication
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what is difference between python CGI and webapplication
#2
Quote:WSGI runs the Python interpreter on web server start, either as part of the web server process (embedded mode) or as a separate process (daemon mode), and loads the script into it. Each request results in a specific function in the script being called, with the request environment passed as arguments to the function.

CGI runs the script as a separate process each request and uses environment variables, stdin, and stdout to "communicate" with it.

And i believe web applications such as django are advanced wrappers around wsgi.
Recommended Tutorials:
Reply


Messages In This Thread
RE: what is difference between python CGI and webapplication - by metulburr - Feb-23-2018, 02:41 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020