Mercurial > hg > webaudioevaluationtool
view pythonServer.py @ 1769:30b6a1e7537b
Comment and rating scripts: robust against audioholders without id or audioelements; fixes issue where plots were not cleared before adding new content; showing legend optional; robust against non-UTF8 characters in legend names
author | Brecht De Man <b.deman@qmul.ac.uk> |
---|---|
date | Mon, 15 Jun 2015 13:09:46 +0100 |
parents | 2a3e95841f14 |
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()