发送单个文件 浏览器使用http://localhost:8080访问 import socket server_html=socket.socket(socket.AF_INET,socket.SOCK_STREAM) server_html.bind(("127.0.0.1",8080)