Mercurial > hg > webaudioevaluationtool
diff pythonServer-legacy.py @ 1453:04e8a9c07c7e
Updating test create using questions
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Wed, 23 Sep 2015 11:42:11 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pythonServer-legacy.py Wed Sep 23 11:42:11 2015 +0100 @@ -0,0 +1,11 @@ +import SimpleHTTPServer +import SocketServer + +PORT = 8080 + +Handler = SimpleHTTPServer.SimpleHTTPRequestHandler + +httpd = SocketServer.TCPServer(("", PORT), Handler) + +print "serving at port", PORT +httpd.serve_forever()