view pythonServer.py @ 1636:9c186f1b068c

Possible fix to loop playback bugs
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 27 May 2015 18:10:56 +0100
parents a22cf46a9141
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()