[Tutor] How to generate a form using cgi
Ms Soo Chong
s4046441 at student.uq.edu.au
Wed Aug 18 08:37:16 CEST 2004
Hi,
Sorry is me again...
Can anyone show me a simple example of generating a
form using CGI module? Thank you.
I got quite confused with this:
def main():
form = cgi.FieldStorage()
main()
Where should I type in the HTML code that generate the
form and text box?
http://www.python.org/doc/essays/ppt/sd99east/sld041.htm
This site shows a typical CGI script. Is this an
example of a form? I tried to type in the same
stuffs and tried to generate but I got error
message. Can someone tell me the reason behind?
Thank you.
Cheers,
Shufen
More information about the Tutor
mailing list