- 博客(2)
- 收藏
- 关注
转载 python web的祖宗
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 = socket.socket(socket.AF_INET, soc...
2017-03-20 19:35:00 76
转载 记录使用python匹配文件名做文件复制
import os,shutil def cp_file(source_directory, target_directory): shutil.copy(source_directory, target_directory) def get_path_file(): with open('2.txt') as fd: file_nam...
2017-03-13 09:17:00 146
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人