view pythonServer-legacy.py @ 1893:3a43a17b430a

Quick update for scripts/score_parser.py to parse new save files.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Tue, 15 Mar 2016 15:33:29 +0000
parents 175cf75946f7
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()