view pythonServer-legacy.py @ 1532:35df5cba63eb

Completed Anchor and Reference Features, including optional enforcement
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 22 Jul 2015 17:58:01 +0100
parents 766bff1a8f73
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()