what is difference between python CGI and webapplication - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html) +--- Thread: what is difference between python CGI and webapplication (/thread-8505.html) |
what is difference between python CGI and webapplication - kchandel - Feb-23-2018 what is difference between python CGI and webapplication RE: what is difference between python CGI and webapplication - metulburr - Feb-23-2018 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. And i believe web applications such as django are advanced wrappers around wsgi. RE: what is difference between python CGI and webapplication - wavic - Feb-23-2018 Django, Flask, bottle.py, Pyramid, Sanic are web frameworks running on WSGI which is running on some web server like Apache or Nginx. You can use these frameworks to build a web application. Or you can use plain SGI. The frameworks just make it easier for you. |