view pythonServer-legacy.py @ 285:037393e98cd9

Scripts: timeline with rectangles (accurate start and end, customisable width); timeline and score plots to PDF by default.
author Brecht De Man <b.deman@qmul.ac.uk>
date Tue, 11 Aug 2015 11:06:55 +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()