摘要: import socketdef handle_request(client): buf = client.recv(1024) client.send("HTTP/1.1 200 OK\r\n\r\n") client.send("Hello, World")def main(): sock = 阅读全文
posted @ 2017-03-20 19:35 eguotangseng 阅读(141) 评论(0) 推荐(0) 编辑
摘要: import os,shutil def cp_file(source_directory, target_directory): shutil.copy(source_directory, target_directory) def get_path_file(): with open('2.tx 阅读全文
posted @ 2017-03-13 09:17 eguotangseng 阅读(1238) 评论(0) 推荐(0) 编辑