view pythonServer-legacy.py @ 885:ba83143187d6

Scripts: score_parser.py: ignore empty rows (subject with no ratings for current song)
author Brecht De Man <BrechtDeMan@users.noreply.github.com>
date Mon, 29 Jun 2015 19:02:48 +0100
parents 2580a999670f
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()