Mercurial > hg > webaudioevaluationtool
comparison pythonServer.py @ 1591:bc550d00cb6d
Stash for project creator
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Mon, 01 Jun 2015 12:55:21 +0100 |
parents | |
children | e08f2b155d8b |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 1591:bc550d00cb6d |
---|---|
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() |