view pythonServer-legacy.py @ 1876:3a400a0b4431

Update CITING.txt (added BibTeX) and README.txt (added Ryan)
author Brecht De Man <b.deman@qmul.ac.uk>
date Mon, 29 Feb 2016 15:38:35 +0100
parents ade3acb0cee3
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()