view pythonServer-legacy.py @ 844:a55ad1c569e4

Added mushra interface. Also added instructions for building your own interface (working copy).
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 28 Jul 2015 12:00:46 +0100
parents 1e8bdac90b78
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()