view pythonServer.py @ 942:36d5c460f04b

jQuery use for childNodes for manipulating set up XML. Now works on Safari
author Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk>
date Sun, 17 May 2015 21:35:30 +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()