Python CGI Scripting Documentation
per9000
per9000 at gmail.com
Mon Jul 3 11:05:49 EDT 2006
Hi,
I wanted to try this myself a few days ago, my first (working) try had
this source code:
---
#!/usr/bin/python
print 'Content-Type: text/plain'
print
print 'hell o world'
---
(the output is just "hell o world\n", but the first four lines are
still required I guess, I don't know why, but it works...)
The file had to be named filetitle + ".cgi" because of some setting at
my web hotel.
Good luck!
/Per9000
More information about the Python-list
mailing list