show all the files under one folder
摘要:
import osdef countFile(dir): tmp = 0 for item in os.listdir(dir): if os.path.isfile(os.path.join(dir, item)): tmp += 1 else: tmp += countFile(os.path. 阅读全文
posted @ 2020-04-21 16:46 cdekelon 阅读(132) 评论(0) 推荐(0) 编辑