view pythonServer.py @ 981:43b5c8f95bcb

Paper: added my bits
author Brecht De Man <BrechtDeMan@users.noreply.github.com>
date Fri, 24 Apr 2015 11:54:45 +0100
parents 05327691d28c
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()