view pythonServer-legacy.py @ 836:1640c08ae2e8

Feature #1246: Playhead starts from 0 when test stopped and restarted for synchronous loop tests.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Wed, 02 Dec 2015 11:26:45 +0000
parents f452455b5977
children
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()