view pythonServer-legacy.py @ 728:28b385057ded

Paper: title and meeting notes
author Brecht De Man <BrechtDeMan@users.noreply.github.com>
date Mon, 12 Oct 2015 11:03:57 +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()