eqiv of perl's CGI.pm?
michael.stroeder at inka.de
Tue Feb 22 02:38:00 EST 2000
"Harry G. George" wrote:
> I have the opportunity to convert a lot of perl cgi's to python. But
> I need to make them look similar to perl's CGI.pm API. (The users have
> just barely gotten comfortable with Perl and CGI.pm.)
> python's cgi.py is good for reading forms, but I need to build forms too.
> cgi.py doesn't address this. HTMLgen is overkill. Anyone doing a
> CGI.pm workalike?
What exactly does CGI.pm? I have a module cgiforms.py with which you
can pre-define input fields in a form and output the single input
fields. The input parameters are checked against reg exp. you define
with the input field. E.g. my project http://web2ldap.de/ is based
on that. Your mileage may vary...
Have a look at http://sites.inka.de/ms/python/pylib/. If you're
interested in using that drop me a note and I will package a newer
version with demo script.
More information about the Python-list