view pythonServer.py @ 1748:b3c0d605f7c9

Feature #1230: Popup content question entries now have automatic focus
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Mon, 01 Jun 2015 10:31:41 +0100
parents 4d71d16c1816
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()