comparison pythonServer.py @ 932:ec9a867e4512

Bug #1258 Fixed. audioObject.metric.startListening now writes to console.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Fri, 29 May 2015 16:27:05 +0100
parents
children e08f2b155d8b
comparison
equal deleted inserted replaced
-1:000000000000 932:ec9a867e4512
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()