view pythonServer-legacy.py @ 835:84db2932ef02

Bug #1445: Should be fixed, entire popup is now dynamically scaled as needed.
author Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk>
date Fri, 27 Nov 2015 15:35:18 +0000
parents f452455b5977
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()