view pythonServer.py @ 949:48e05b7a16e0

Fixed Bug #1233: Failure to correctly give IDs to text entry if a question was the first option on the statement.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Mon, 25 May 2015 10:06:28 +0100
parents b5262d076f0b
children e08f2b155d8b
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()