view pythonServer-legacy.py @ 1404:3b9f0bc523d6

test_create: Specification Node handles complete XML to DOM and DOM to XML conversions
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Fri, 04 Dec 2015 18:34:04 +0000
parents
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()