Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 825:8fb8f3c1acf8
Revert revision 349 regarding change to enter behaviour: enter in a dialog box goes to next question/message, starts test or submits answers, rather than to create a new line / carriage return.
author | Brecht De Man <BrechtDeMan@users.noreply.github.com> |
---|---|
date | Mon, 23 Nov 2015 16:04:47 +0000 |
parents | 9c579fc05a09 |
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()