annotate Perceptual Evaluation/webaudioevaluationtool/pythonServer-legacy.py @ 0:55c282f01a30 tip

Adding files to Repo. Initial Commit
author Dave <d.j.moffat@qmul.ac.uk>
date Fri, 16 Oct 2015 18:04:00 +0100
parents
children
rev   line source
d@0 1 import SimpleHTTPServer
d@0 2 import SocketServer
d@0 3
d@0 4 PORT = 8080
d@0 5
d@0 6 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
d@0 7
d@0 8 httpd = SocketServer.TCPServer(("", PORT), Handler)
d@0 9
d@0 10 print "serving at port", PORT
d@0 11 httpd.serve_forever()