view pythonServer-legacy.py @ 1310:fe19bb2222ef

Minor fixes to test_create to match specification (was building empty interface nodes).
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Thu, 18 Feb 2016 12:11:09 +0000
parents cc55cc323592
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()