Mercurial > hg > webaudioevaluationtool
annotate pythonServer-legacy.py @ 1460:1b81ab727352
Urgent Fix. Drag End function uses clientX mouse. Fixes rogue movement after drop on OSX.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Mon, 23 Nov 2015 15:48:07 +0000 |
parents | 04e8a9c07c7e |
children |
rev | line source |
---|---|
nickjillings@1453 | 1 import SimpleHTTPServer |
nickjillings@1453 | 2 import SocketServer |
nickjillings@1453 | 3 |
nickjillings@1453 | 4 PORT = 8080 |
nickjillings@1453 | 5 |
nickjillings@1453 | 6 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler |
nickjillings@1453 | 7 |
nickjillings@1453 | 8 httpd = SocketServer.TCPServer(("", PORT), Handler) |
nickjillings@1453 | 9 |
nickjillings@1453 | 10 print "serving at port", PORT |
nickjillings@1453 | 11 httpd.serve_forever() |