view pythonServer-legacy.py @ 325:d8fd1699f6de Dev_main

stash. test_create question now shows box size options.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 13 Oct 2015 10:20:04 +0100
parents e08f2b155d8b
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()