view pythonServer-legacy.py @ 1531:3d63ae9a389a

Fix Bug #1301: If last of pretest node, will say 'start' not submit.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 22 Jul 2015 14:10:55 +0100
parents 766bff1a8f73
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()