Merge pull request #1882 from su-kaiyao/master

su-kaiyao translating 20141021 How to create and use Python CGI scripts.md
This commit is contained in:
joeren 2014-10-23 09:51:48 +08:00
commit 4d3effe71c

View File

@ -1,3 +1,5 @@
su-kaiyao translating
How to create and use Python CGI scripts
================================================================================
Have you ever wanted to create a webpage or process user input from a web-based form using Python? These tasks can be accomplished through the use of Python CGI (Common Gateway Interface) scripts with an Apache web server. CGI scripts are called by a web server when a user requests a particular URL or interacts with the webpage (such as clicking a "Submit" button). After the CGI script is called and finishes executing, the output is used by the web server to create a webpage displayed to the user.
@ -154,4 +156,4 @@ via: http://xmodulo.com/create-use-python-cgi-scripts.html
[a]:http://xmodulo.com/author/joshua
[1]:http://httpd.apache.org/docs/2.2/howto/cgi.html
[2]:https://docs.python.org/2/library/cgi.html#module-cgi
[2]:https://docs.python.org/2/library/cgi.html#module-cgi