Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 1208:08f6b58b7c20
Probably solves #1617
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 22 Feb 2016 21:39:38 +0000 |
parents | ddc5a639179a |
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()