Python CGI programming

seung-won hwang shwang5 at students.uiuc.edu
Thu Feb 1 16:26:05 EST 2001


FYI, when I type the following example, web browser just shows
the source code..not the test string... How can I fix this?

#!/usr/bin/python

# Tell the browser how to render the text
print "Content-Type: text/plain\n\n"

print "Hello, Python!"  # print a test string






More information about the Python-list mailing list