annotate pythonServer-legacy.py @ 1112:28aa066720ed

Fixed typo
author Giulio Moro <giuliomoro@yahoo.it>
date Sun, 21 Feb 2016 03:35:27 +0000
parents 282dfb8076f5
children
rev   line source
n@1106 1 import SimpleHTTPServer
n@1106 2 import SocketServer
n@1106 3
n@1106 4 PORT = 8080
n@1106 5
n@1106 6 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
n@1106 7
n@1106 8 httpd = SocketServer.TCPServer(("", PORT), Handler)
n@1106 9
n@1106 10 print "serving at port", PORT
n@1106 11 httpd.serve_forever()