view pythonServer.py @ 1693:7f1599865486

SMC paper template (without bibliography)
author Brecht De Man <b.deman@qmul.ac.uk>
date Fri, 27 Mar 2015 10:27:40 +0000
parents 7148c89ff426
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()