首页 > 其他 > 详细

【代码块】

时间:2018-09-09 14:28:36      阅读:166      评论:0      收藏:0      [点我收藏+]
//批量创建文件夹
def
自动创建文件夹(self): path_list = [ ‘date‘, ‘andy‘, ‘index‘, ‘other‘] for i in path_list: path_T = self.path + ‘/‘ + i if not os.path.exists(path_T): os.makedirs(path_T)

 

【代码块】

原文:https://www.cnblogs.com/fyandy/p/9613262.html

踩
(0)
赞
(0)
   
举报
评论 一句话评论(0)
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!