General question re: print statement
Fredrik Lundh
effbot at telia.com
Tue May 9 12:44:16 EDT 2000
chibaA at TinterlogD.Tcom wrote:
> I'm trying to use python for html pages - and I was curious if there
> was a way to do a large output of text using print.
use triple-quoted strings:
print """
Content-type: text/html
<html>
<head>
<title>
.....
</html>
"""
</F>
<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->
More information about the Python-list
mailing list