view pythonServer.py @ 1658:274014f482f3

Updated the interface modification to the specification document. Updated example XML at bottom of the page
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Sat, 11 Apr 2015 11:45:04 +0100
parents 06e4d36ca9d7
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()