Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 1167:0e28f9348205
Default interface checks will attach an error node containing test page time stamp and error message on submit request.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Mon, 01 Feb 2016 10:37:28 +0000 |
parents | 3edcbbea168b |
children |
line wrap: on
line source
import SimpleHTTPServer import SocketServer PORT = 8080 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler httpd = SocketServer.TCPServer(("", PORT), Handler) print "serving at port", PORT httpd.serve_forever()