O'Reilly logo
  • You Wang thinks this is interesting:

CGI is a standard mechanism by which a web server can pass your queries (typically supplied through a web form) to a dedicated program (for example, your Python program) and display the result as a web page. It is a simple way of creating web applications without writing your own special-purpose application server.

From

Cover of Beginning Python: From Novice to Professional, Second Edition

Note

CGI enables server to run PHP, Python programs...