摘要: ''' url http://book.dangdang.com/ 请求方式 GET 请求头 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83. 阅读全文
posted @ 2020-09-27 14:40 林也 阅读(871) 评论(0) 推荐(0)
摘要: 1 import os 2 path=input() #用来接收输入的路径 3 fileList=os.listdir(path) 4 n=0 5 for i in fileList: 6 oldname=path+os.sep+fileList[n] 7 newname=path+os.sep+' 阅读全文
posted @ 2020-09-27 14:36 林也 阅读(276) 评论(0) 推荐(0)