Mercurial > hg > modal-synthesis-of-weapon-sounds
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:55c282f01a30 |
---|---|
1 import SimpleHTTPServer | |
2 import SocketServer | |
3 | |
4 PORT = 8080 | |
5 | |
6 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler | |
7 | |
8 httpd = SocketServer.TCPServer(("", PORT), Handler) | |
9 | |
10 print "serving at port", PORT | |
11 httpd.serve_forever() |