view pythonServer.py @ 935:b81bedba3e13

Added 'scripts' folder for auxiliary pre-/post-processing scripts. Made script to extract comments from all result files. Some issues/TODOs in file.
author Brecht De Man <BrechtDeMan@users.noreply.github.com>
date Wed, 27 May 2015 12:40:37 +0100
parents
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()