view pythonServer-legacy.py @ 1408:8e19255b85b3

Start tidy up of core.js
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Mon, 07 Dec 2015 12:15:43 +0000
parents 3b9f0bc523d6
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()