view pythonServer-legacy.py @ 1070:f1201566b54b

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 <BrechtDeMan@users.noreply.github.com>
date Mon, 17 Aug 2015 18:20:30 +0200
parents 30d5aa52b034
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()