view pythonServer-legacy.py @ 840:c17f3713fe56

test_create: Tool now builds using XML DOM to ensure capitalisation is consistent
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Fri, 04 Dec 2015 10:38:13 +0000
parents f452455b5977
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()