view contrib/tor2dns/serve @ 1027:8d9b9994d29d draft

[contrib/peer2anonet/peer2anonet] better comment instructions for dynamic peers
author d3v11 <d3v11@d3v11.ano>
date Sat, 13 Oct 2012 14:52:15 +0000
parents 5c86c4e82b4c
children
line wrap: on
line source

#!/usr/bin/python
import SimpleHTTPServer
import SocketServer

PORT = 8053

Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
httpd = SocketServer.TCPServer(("", PORT), Handler)
httpd.serve_forever()