Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 824:cfe755cc2bc2
Feature #1456. PHP server adds a six character 'hash' to the end of the file.
author | Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk> |
---|---|
date | Mon, 23 Nov 2015 16:02:37 +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()