月度归档: 2018 年 9 月

1 篇文章

Python文件目录树
为了看清文件夹里面的文件是如何分布的,或者是想生成代码的文件结构,可以使用下方的Python代码快速生成文件目录树。 # encoding: utf-8 import os class dir(object): def __init__(self): self.SPACE = "" self.list = [] def getCount(self,…