Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 2209:394bf5310fc4
Instructions update: primarily Interfaces section. Moved 'Building your own interface' section under it.
author | Brecht De Man <b.deman@qmul.ac.uk> |
---|---|
date | Tue, 12 Apr 2016 20:32:00 +0100 |
parents | 175cf75946f7 |
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()