摘要:
web1.py#!/usr/bin/pythonimport SimpleHTTPServerSimpleHTTPServer.test() web2.py#!/usr/bin/pythonimport SimpleHTTPServerimport SocketServerimport osPORT = 80WEBDIR = "f:/python语言学习"class Handler(SimpleHTTPServer.SimpleHTTPRequestHandler): def translate_path(self, path): os.chdir(WEBDIR) retu 阅读全文