view pythonServer.py @ 80:4c370a73f30f

Paper: Edit Intro with tool Justification
author Dave Moffat <d.j.moffat@qmul.ac.uk>
date Fri, 24 Apr 2015 00:11:20 +0100
parents 05327691d28c
children e08f2b155d8b
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()