view pythonServer-legacy.py @ 2219:d87b8419df28

Completed cross fading of tracks selectable by user attribute crossFade in <setup> node. Default is 0 seconds (no cross fade).
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Wed, 13 Apr 2016 15:14:42 +0100
parents 175cf75946f7
children
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()