Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 1461:1dfcfdb7a1ad
Feature #1456. PHP server adds a six character 'hash' to the end of the file.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Mon, 23 Nov 2015 16:02:37 +0000 |
parents | 04e8a9c07c7e |
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()