Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 400:3fb85ae8fced Dev_main
Feature #1478: <audioElements> have a gain attribute, in decibels, which controls the playback gain in that page.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Fri, 11 Dec 2015 17:33:14 +0000 |
parents | e08f2b155d8b |
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()