摘要: 实例: def del_file(filepath): """ 删除某一目录下的所有文件或文件夹 :param filepath: 路径 :return: """ del_list = os.listdir(filepath) for f in del_list: file_path = os.pa 阅读全文
posted @ 2019-12-03 17:26 山重水复疑无路 阅读(26565) 评论(0) 推荐(0) 编辑