Mercurial > hg > webaudioevaluationtool
annotate pythonServer.py @ 1680:ba4187ad3857
Updated the Results Specification to reflect node name changes. Also added extra fields to handle pre/post/during extra comments
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Tue, 07 Apr 2015 13:10:50 +0100 |
parents | |
children | e08f2b155d8b |
rev | line source |
---|---|
nickjillings@1680 | 1 import SimpleHTTPServer |
nickjillings@1680 | 2 import SocketServer |
nickjillings@1680 | 3 |
nickjillings@1680 | 4 PORT = 8080 |
nickjillings@1680 | 5 |
nickjillings@1680 | 6 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler |
nickjillings@1680 | 7 |
nickjillings@1680 | 8 httpd = SocketServer.TCPServer(("", PORT), Handler) |
nickjillings@1680 | 9 |
nickjillings@1680 | 10 print "serving at port", PORT |
nickjillings@1680 | 11 httpd.serve_forever() |