view pythonServer.py @ 939:c2fe27b91359

Only 'Stop' button; 'Start' when any sample is clicked.
author Brecht De Man <BrechtDeMan@users.noreply.github.com>
date Sat, 16 May 2015 20:58:15 +0100
parents c3fe29d33643
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()