摘要: [root@web1 test]# cat walk.py #!/usr/bin/python # -*- coding: UTF-8 -*- import os for root, dirs, files in os.walk("/tmp", topdown=False): for name in files: print("文件") print(os.pa... 阅读全文
posted @ 2018-12-05 13:40 流年有爱,岁月静好 阅读(1701) 评论(0) 推荐(1) 编辑