view pythonServer-legacy.py @ 1494:84c894986e69

Added paragraph onto Interfaces for 3rd party interfaces
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Tue, 13 Oct 2015 10:29:28 +0100
parents 0b095f66de65
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()