view pythonServer-legacy.py @ 1458:562e5fe33c0b

Feature #1270 completed. Outside reference works as designed
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Mon, 23 Nov 2015 10:47:02 +0000
parents 04e8a9c07c7e
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()