view pythonServer-legacy.py @ 1383:1c5fa95cf158

Small MUSHRA bug fix. Playback was blocked from ever happening due to play getting called twice.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Mon, 15 Feb 2016 12:52:55 +0000
parents 279930a008ca
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()