'print' in a CGI app.

Andrew Chalk achalk at XXXmagnacartasoftware.com
Sun Aug 3 14:52:20 EDT 2003


In a Python 2.2 app. running under CGI the statements

print "Hello\n"
print "World"

print both words on the same line in IE6. How do I print the second one on a
new line (i.e. respect the \n in the first statement).

Many thanks!






More information about the Python-list mailing list