view pythonServer-legacy.py @ 1061:9ed0483f7ded

Scripts: evaluation_stats bug fixes
author Brecht De Man <BrechtDeMan@users.noreply.github.com>
date Tue, 14 Jul 2015 20:09:25 +0100
parents 7aa8862850ef
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()