Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 1150:2674d80c66ff
Confirmed working (using examples) on OSX (Chrome/Safari/Firefox)
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Thu, 14 Jan 2016 16:00:52 +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()