Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 2206:66922a9dc29b
Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool
author | www-data <www-data@sucuk.dcs.qmul.ac.uk> |
---|---|
date | Sun, 10 Apr 2016 20:20:46 +0100 |
parents | c07b9e2312ba |
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()