Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 301:1c32dbb8ac32 Dev_main
Bug #1300: Boxes are automatically scaled on load. Will add to 'resize' commands in the future.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Mon, 14 Sep 2015 16:25:13 +0100 |
parents | e08f2b155d8b |
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()