view pythonServer-legacy.py @ 1902:e87c51088e1e

Fix for #1560. Fix for loadProjectSpecCallback error if Parser returns undefined.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Mon, 21 Mar 2016 15:01:57 +0000
parents 175cf75946f7
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()