view pythonServer-legacy.py @ 1317:8790518a8c8a

Minor APE fixes. Dragging now centred rather than edge. Scale markers aligned without window resizing needed.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Fri, 29 Jan 2016 11:39:29 +0000
parents 279930a008ca
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()