view pythonServer-legacy.py @ 247:c3f29c2b9b12

Scripts: score_parser.py: ignore empty rows (subject with no ratings for current song)
author Brecht De Man <b.deman@qmul.ac.uk>
date Mon, 29 Jun 2015 19:02:48 +0100
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()