view pythonServer.py @ 1619:42bfe112f6ed

Fixed Bug #1233: Failure to correctly give IDs to text entry if a question was the first option on the statement.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Mon, 25 May 2015 10:06:28 +0100
parents e5f1caa513d8
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()