view pythonServer-legacy.py @ 1831:3ef5ba19b206

Discrete / Radio interfaces now have outside-reference support.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 17 Feb 2016 15:09:26 +0000
parents 345974f8794a
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()