blob: 75ca3ccd86771996437fe9ba78ab386040937e89 [file] [log] [blame]
#!/usr/bin/python
"""
Starts a web server on port 8000. Start it in the current directory and
it will serve up index.html.
"""
import sys
import SimpleHTTPServer
import SocketServer
port = 8000
handler = MyRequestHandler
httpd = SocketServer.TCPServer(("", port), handler)
httpd.serve_forever()