摘要: 1、遍历字典中键值对 输入: 输出: 阅读全文
posted @ 2019-04-17 10:27 MeGargamel 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1. os.replace(file1,file2) # 将file1重命名为file2,将其替代 输入: 2. os.getcwd() # 返回当前工作目录 输入: 输出: 3. os.listdir(path) # 返回path指定的文件夹包含的文件或文件夹的名字的列表 输入: 输出: 4. o 阅读全文
posted @ 2019-04-12 15:27 MeGargamel 阅读(197) 评论(0) 推荐(0) 编辑