view server.py @ 49:a5e2db06b58d

Initial proof-of-concept of a WebWorkerMapReducer. Still needs lots of work.
author Atul Varma <varmaa@toolness.com>
date Tue, 14 Apr 2009 15:02:19 -0700
parents 6e8585c006bc
children
line wrap: on
line source

import CGIHTTPServer
import BaseHTTPServer

PORT = 8000

Handler = CGIHTTPServer.CGIHTTPRequestHandler

httpd = BaseHTTPServer.HTTPServer(("", PORT), Handler)

print "Serving files at http://localhost:%d" % PORT

httpd.serve_forever()