Mercurial > hg > webaudioevaluationtool
view pythonServer.py @ 886:a2ab04daf4c9
Added common interface to specification to handle global interface-specific functions such as checks for playback.
author | Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk> |
---|---|
date | Tue, 16 Jun 2015 15:44:02 +0100 |
parents | |
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()