view pythonServer-legacy.py @ 1473:df527e7b1f83

Feature #1246: Playhead starts from 0 when test stopped and restarted for synchronous loop tests.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 02 Dec 2015 11:26:45 +0000
parents bc074d4ee760
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()