Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 1134:45510c62a7c6
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 <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Tue, 12 Jan 2016 11:50:38 +0000 |
parents | 3edcbbea168b |
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()