Mercurial > hg > webaudioevaluationtool
comparison pythonServer-legacy.py @ 1528:766bff1a8f73
Update dev_main
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Wed, 22 Jul 2015 12:41:22 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 1528:766bff1a8f73 |
---|---|
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() |