view pythonServer.py @ 11:59c7ed077dd3

Updated the ProjectSpecificationDocument to reflect track sample rate detection
author Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk>
date Thu, 26 Mar 2015 10:35:29 +0000
parents 05327691d28c
children e08f2b155d8b
line wrap: on
line source
import SimpleHTTPServer
import SocketServer

PORT = 8080

Handler = SimpleHTTPServer.SimpleHTTPRequestHandler

httpd = SocketServer.TCPServer(("", PORT), Handler)

print "serving at port", PORT
httpd.serve_forever()