view pythonServer.py @ 682:820805ac7326

Bug fix: Randomisation causes system not to load new audio elements when progressing through pages
author Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk>
date Mon, 20 Apr 2015 18:50:06 +0100
parents 0a401224660b
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()