Design questions (cgi programming with python)
Miki Tebeka
tebeka at cs.bgu.ac.il
Thu Dec 26 10:05:37 EST 2002
More information about the Python-list mailing list
Thu Dec 26 10:05:37 EST 2002
- Previous message (by thread): Design questions (cgi programming with python)
- Next message (by thread): Pyrex
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Paul, > --------- > #!/usr/bin/python > print "Content-type: text/html\n\n" > > print """ > <html> > .... > </html> > """ > #(^^^that is always re-done when the html form is processed....) > > import cgi > ..... Don't write your HTML by hand. Use HTMLgen http://starship.python.net/crew/friedrich/HTMLgen/html/main.html Make sure document cgi flag is 1 and you're all set to go. HTH. Miki
- Previous message (by thread): Design questions (cgi programming with python)
- Next message (by thread): Pyrex
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list