Mercurial > hg > webaudioevaluationtool
annotate pythonServer.py @ 1773:33b2dc939edd
SMC2015Paper: Added section to lightly compare BeaqleJS and WAET in introduction where BeaqleJS is mentioned. Removed feature 'drag playhead' as unlikley to be implemented.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Wed, 17 Jun 2015 15:27:11 +0100 |
parents | 4730207bcae0 |
children | e08f2b155d8b |
rev | line source |
---|---|
nickjillings@1563 | 1 import SimpleHTTPServer |
nickjillings@1563 | 2 import SocketServer |
nickjillings@1563 | 3 |
nickjillings@1563 | 4 PORT = 8080 |
nickjillings@1563 | 5 |
nickjillings@1563 | 6 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler |
nickjillings@1563 | 7 |
nickjillings@1563 | 8 httpd = SocketServer.TCPServer(("", PORT), Handler) |
nickjillings@1563 | 9 |
nickjillings@1563 | 10 print "serving at port", PORT |
nickjillings@1563 | 11 httpd.serve_forever() |