view pythonServer-legacy.py @ 1334:9a99872c700f

Core.js now randomises the audio elements when asked to on page creation. AB has stricter selection policies, selection can occur only once playback has started.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Tue, 12 Jan 2016 11:50:38 +0000
parents 64541cd9265d
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()