A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://svn.python.org/projects/python/branches/sslopts-4870/Demo/cgi/cgi2.py below:

#!/usr/bin/env python3 """CGI test 2 - basic use of cgi module.""" import cgitb; cgitb.enable() import cgi def main(): form = cgi.FieldStorage() print("Content-type: text/html") print() if not form: print(" No Form Keys") else: print(" Form Keys") for key in form.keys(): value = form[key].value print("

", cgi.escape(key), ":", cgi.escape(value)) if __name__ == "__main__": main()


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4