view pythonServer-legacy.py @ 1346:c6fd5f897fa2

discrete.js interface built with correct styling. Example discrete is DCR
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Thu, 14 Jan 2016 11:22:31 +0000
parents 64541cd9265d
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()