Team:Wageningen UR/Testpage
From 2011.igem.org
1 #!C:\Python27\python.exe -u 2 #!/usr/bin/env python 3 4 import cgi 5 import cgitb; cgitb.enable() # for troubleshooting 6 7 print "Content-type: text/html" 8 print 9 10 print """ 11 12 1332 33 34 35 36 """ % cgi.escape(message)Sample CGI Script 14 15 16 17Sample CGI Script
18 """ 19 20 form = cgi.FieldStorage() 21 message = form.getvalue("message", "(no message)") 22 23 print """ 24 25Previous message: %s
26 27form 28 29