Mercurial > hg > waet-hammond-1
view pythonServer-legacy.py @ 3:d4ccb6739bdf
Updates, doing alright
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Fri, 22 Apr 2016 02:27:42 +0100 |
parents | d2eb0e6ccaaf |
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()