Mercurial > hg > webaudioevaluationtool
view pythonServer.py @ 2034:8f977f991ecd
Feature #1234: Added back button to pre/post surveys
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Wed, 10 Jun 2015 10:13:45 +0100 |
parents | 2a3e95841f14 |
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()