Mercurial > hg > webaudioevaluationtool
view pythonServer.py @ 1697:81d8d8a5d963
Added comments. Variable name changes to match specification document during ape.js loading.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Tue, 07 Apr 2015 11:32:46 +0100 |
parents | 7148c89ff426 |
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()