cgipm Home page
From running cgipm -h:
Name:
cgipm.py
Usage:
Standalone (to test):
cgipm.py [options] datapairs
As library:
import pyperl.cgipm
query=cgipm.CGI()
Options:
-h, --help this message
-v, --version version of this program
Description:
Provide perl CGI.pm-like syntax to python programmers
Used to ease the migration from perl cgi's to python cgi's
Examples:
As an import:
import cgipm
query=cgipm.CGI()
...
query.header()
query.start_html(title='My Title')
...
query.startform(action='http://myurl.cgi')
...
query.endform()
query.endhtml()
Debugging:
mycgi.py name=xyz cost=100
Revisions:
2000-02-21 Harry George initial version
Work-alike for Perl's CGI.pm.