view pythonServer.py @ 1561:bd06a7dc0418

Feature #1271 and #1272 implemented.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 17 Jun 2015 16:37:32 +0100
parents c6decd1db0da
children e08f2b155d8b
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()