Mercurial > hg > webaudioevaluationtool
annotate pythonServer-legacy.py @ 630:9dcfd654abad Dev_main
Fixed analysis.js table and latex generators.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Mon, 21 Mar 2016 16:07:57 +0000 |
parents | e08f2b155d8b |
children |
rev | line source |
---|---|
b@242 | 1 import SimpleHTTPServer |
b@242 | 2 import SocketServer |
b@242 | 3 |
b@242 | 4 PORT = 8080 |
b@242 | 5 |
b@242 | 6 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler |
b@242 | 7 |
b@242 | 8 httpd = SocketServer.TCPServer(("", PORT), Handler) |
b@242 | 9 |
b@242 | 10 print "serving at port", PORT |
b@242 | 11 httpd.serve_forever() |