07 2017 档案

python装饰器小例子
摘要:in the test1the func run time 3.0043931007385254in the test2 joan 5the func run time 2.0034029483795166 阅读全文

posted @ 2017-07-02 21:13 joangaga 阅读(339) 评论(0) 推荐(0) 编辑

递归返回指定文件夹中文件的路径,以及其包含文件夹中文件的路径
摘要:import osdef print_directory_contents(sPath): for sChild in os.listdir(sPath): sChildPath = os.path.join(sPath,sChild) if os.path.isdir(sChildPath): p 阅读全文

posted @ 2017-07-02 20:39 joangaga 阅读(307) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示