view pythonServer-legacy.py @ 1355:7e0678b5f87a

More volume control styling
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Fri, 22 Jan 2016 17:03:18 +0000
parents 64541cd9265d
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()