import timedef printHeader( title ): print """Content-type: text/html %s""" % titleprintHeader( "Current date and time" )print "" + time.ctime( time.time() ) + ""print ""