python中统计文件夹中文件的个数

way1:
import os
len(os.listdir('./'))

way2:
posted on 2017-06-21 10:40  guolongnv  阅读(117)  评论(0)    收藏  举报