Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 1854:2d3ce9d4ca5e
Probably solves #1617
author | Giulio Moro <giuliomoro@users.noreply.github.com> |
---|---|
date | Tue, 23 Feb 2016 12:22:28 +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()