Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 554:adbaff4bf3f0 Dev_main
Probably solves #1617
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Tue, 23 Feb 2016 12:22:28 +0000 |
parents | e08f2b155d8b |
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()