view pythonServer-legacy.py @ 1502:0f975121ebe2

Paper: Re-written table
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Thu, 15 Oct 2015 20:36:35 +0100
parents f8a9b2466705
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()