Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 388:2bbf813c0e61 Dev_main
Scripts: generate_report.py accepts folder names with spaces - uses package 'grffile'. Minor correction to Instructions (manual emergency saves).
author | Brecht De Man <b.deman@qmul.ac.uk> |
---|---|
date | Tue, 08 Dec 2015 17:17:39 +0100 |
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()