Source code for: 'tutor1.py'


#!/usr/bin/python

text = """Content-type: text/html

<TITLE>CGI 101</TITLE>
<body text="#000000" leftmargin=0 topmargin=0 bgcolor="#C2C2C6">
<table width=850 border=0 cellspacing=0 cellpadding=0>
  <tr>
  <td align=center>
<H1>A Second CGI Script</H1>
<HR>
<P>Hello, CGI World!</P>
<IMG src="../ebiz/enterprise/python/ppsmall.gif" BORDER=1 ALT=[image]>
<HR>
<hr><a href="/cgi-bin/getfile.py?filename=tutor1.py">View script code</a>
</td></tr></table>
"""

print(text)