Mercurial > hg > webaudioevaluationtool
comparison pythonServer-legacy.py @ 265:ec693ceb2444 Dev_main
Update dev_main
author | Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk> |
---|---|
date | Wed, 22 Jul 2015 12:41:22 +0100 |
parents | e08f2b155d8b |
children |
comparison
equal
deleted
inserted
replaced
243:b4ca52c105ba | 265:ec693ceb2444 |
---|---|
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() |