view pythonServer-legacy.py @ 732:c71285efba76

Added paragraph onto Interfaces for 3rd party interfaces
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
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()