Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 1222:bcd5c032f196
Bug #1601
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Tue, 23 Feb 2016 17:04:06 +0000 |
parents | ddc5a639179a |
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()