Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 806:e7ea0686b094
Bug #1502: Any parser XML errors will show the error and halt the rest of the loading.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Fri, 18 Dec 2015 18:28:06 +0000 |
parents | c73996a0fb21 |
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()