Mercurial > hg > webaudioevaluationtool
view pythonServer.py @ 1634:90c5e3c53066
Major Update. All new state machine to track the session state and hold session data. Will enable new interfaces to be built on top and have the same common structures.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Wed, 27 May 2015 16:45:48 +0100 |
parents | 45d3860b350a |
children | e08f2b155d8b |
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()