Skip to content

Instantly share code, notes, and snippets.

View shaunduncan's full-sized avatar

Shaun Duncan shaunduncan

View GitHub Profile
# The web server:
import SimpleHTTPServer
import SocketServer
PORT = 8000
Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
httpd = SocketServer.TCPServer(("", PORT), Handler)