Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 288:a00d0c8d5c74
Scripts: modification to timeline plots: do not save (/show) plot if empty, e.g. legacy result files with no timing data
author | Brecht De Man <b.deman@qmul.ac.uk> |
---|---|
date | Mon, 17 Aug 2015 18:20:30 +0200 |
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()