Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 2107:eba6139c6f85
Bug #1584 Fix.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Mon, 22 Feb 2016 12:51:14 +0000 |
parents | d9b9f707f862 |
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()