Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 1470:b2a2a39f3e11
Enter key press will always trigger 'next' in any popup survey
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Fri, 27 Nov 2015 12:20:56 +0000 |
parents | f6a6b7fd4041 |
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()