view pythonServer-legacy.py @ 1416:0d109d5a3c72

APE Multi-interface can be named. Audio Element <file> node fixed.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Tue, 08 Dec 2015 15:04:59 +0000
parents 1de4c0257fa4
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()