While trying to implement a bare-bones CGI module with little support for the then-new-to-me concept, the
Zcgi module was written, and this experiment was designed to test what it could do. This is committed for archival to be run under Python 2.5 or later versions.
1 2 3 4 5 6 7 8
import Zcgi def main(): Zcgi.print_plain('string = ' + repr(Zcgi.string) + '\n' + 'dictionary = ' + repr(Zcgi.dictionary)) if __name__ == '__main__': Zcgi.execute(main, 'cgi')
Zcgi module can be found in recipe 475112.