view pythonServer.py @ 984:9f51f5c015a3

Paper: Changed links into footnotes instead of references.
author Brecht De Man <BrechtDeMan@users.noreply.github.com>
date Fri, 24 Apr 2015 18:53:24 +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()