view pythonServer.py @ 1585:7b49ca9e3c26

Complete Feature #1252: Interface locks out until all audioElements are loaded and ready.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Fri, 05 Jun 2015 10:49:52 +0100
parents 9eae8c728460
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()