view pythonServer-legacy.py @ 2076:c235979c6197

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 766bff1a8f73
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()