Team:Wageningen UR/Testpage
From 2011.igem.org
(Difference between revisions)
Line 33: | Line 33: | ||
<p>form | <p>form | ||
- | <form method="post" action=" | + | <form method="post" action="cloning_tool.py"> |
<p>message: <input type="text" name="message"/></p> | <p>message: <input type="text" name="message"/></p> | ||
</form> | </form> |
Revision as of 11:34, 27 June 2011
Building a Synchronized Oscillatory System
Testpage
.
Sample CGI Script
- !C:\Python27\python.exe -u
- !/usr/bin/env python
import cgi import cgitb; cgitb.enable() # for troubleshooting
print "Content-type: text/html" print
print """
Sample CGI Script
""" form = cgi.FieldStorage() message = form.getvalue("message", "(no message)") print """Previous message: %s
form
""" % cgi.escape(message)