咸鱼DoYoung  
做一条有理想的咸鱼

2021年7月15日

摘要: import os dirlist = os.listdir() #打开文件 fo = open("dirs.txt","w") #遍历 for dir in dirlist: #判断如果是文件夹 if os.path.isdir(dir): #写 file.write(str(os.path.ab 阅读全文
posted @ 2021-07-15 23:38 咸鱼Doyoung 阅读(200) 评论(0) 推荐(0) 编辑