view pythonServer.py @ 927:5db0069046d5

Comment parsing: automatically detect which songs - no need to manually enter song IDs
author Brecht De Man <BrechtDeMan@users.noreply.github.com>
date Sat, 30 May 2015 18:12:32 +0100
parents f427b5805b69
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()