Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 817:bc6c35b0a49d
More test_creators
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Wed, 07 Oct 2015 22:16:06 +0100 |
parents | 9c579fc05a09 |
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()