view pythonServer.py @ 975:d472818c0d4f

Paper: some changes and work delegation; apeTool.html changed into index.html
author Brecht De Man <BrechtDeMan@users.noreply.github.com>
date Thu, 23 Apr 2015 16:31:17 +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()