view pythonServer.py @ 1668:18566b250b97

Bug fix: Randomisation causes system not to load new audio elements when progressing through pages
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Mon, 20 Apr 2015 18:50:06 +0100
parents 06e4d36ca9d7
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()