import  os, sys
from http.server import HTTPServer,CGIHTTPRequestHandler

webdir = "." #存放HTML文件和CGI-BIN文件夹的所在
port = 8080

os.chdir(webdir)
srvraddr = ("",port)
srvrobj = HTTPServer(srvraddr,CGIHTTPRequestHandler)
srvrobj.serve_forever()
605a1775b486e002b6c1d5b4c160cc801cb48470
<mask token>

<mask token>
os.chdir(webdir)
<mask token>
srvrobj.serve_forever()

<mask token>
webdir = '.'
port = 8080
os.chdir(webdir)
srvraddr = '', port
srvrobj = HTTPServer(srvraddr, CGIHTTPRequestHandler)
srvrobj.serve_forever()

import os, sys
from http.server import HTTPServer, CGIHTTPRequestHandler
webdir = '.'
port = 8080
os.chdir(webdir)
srvraddr = '', port
srvrobj = HTTPServer(srvraddr, CGIHTTPRequestHandler)
srvrobj.serve_forever()

import  os, sys
from http.server import HTTPServer,CGIHTTPRequestHandler

webdir = "." #存放HTML文件和CGI-BIN文件夹的所在
port = 8080

os.chdir(webdir)
srvraddr = ("",port)
srvrobj = HTTPServer(srvraddr,CGIHTTPRequestHandler)
srvrobj.serve_forever()