view pythonServer-legacy.py @ 2215:13f3f7e89bff

Beautify test_schema.xsd
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Mon, 11 Apr 2016 12:03:11 +0100
parents 175cf75946f7
children
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()