Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 849:8d191cf6c50b
APE: Multiple Screen proof
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Thu, 10 Sep 2015 12:53:55 +0100 |
parents | 71fd099e9fd2 |
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()