view pythonServer-legacy.py @ 1515:7388a62e3b93

PHP Upload Session scripts
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 09 Sep 2015 10:34:55 +0100
parents a2ba4db3fdb6
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()