'print' in a CGI app.
wt at nic.fi
Sun Aug 3 21:01:01 CEST 2003
Andrew Chalk wrote:
> 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).
How about (untested):
...since, AFAIK, it should be HTML that CGI's output...?
Timo Virkkala | wt at nic.fi
"In the battle between you and the world, bet on the world."
More information about the Python-list