view pythonServer-legacy.py @ 1442:b11521789253

Further Bug #1500 fix. Ensured checks are correctly binded by APE.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Fri, 18 Dec 2015 17:54:47 +0000
parents 4a0c4119e00d
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()