view pythonServer-legacy.py @ 612:80582bdf9d12 multiple-tests-concatenation

discrete interface: long labels will wrap instead of overlapping. Closed #1666
author Giulio Moro <giuliomoro@yahoo.it>
date Sun, 13 Mar 2016 14:09:22 +0000
parents e08f2b155d8b
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()