import osimport BaseHTTPServer, CGIHTTPServerserverAddr = ("", 80)os.chdir("/myTest")serv = BaseHTTPServer.HTTPServer(serverAddr, CGIHTTPServer.CGIHTTPRequestHandler)serv.serve_forever()