python语法
携梦问道
抟扶摇而上者九万里
展开
-
Python 中 'unicodeescape' codec can't decode bytes in position XXX: trun错误解决方案
Python 中 'unicodeescape' codec can't decode bytes in position XXX: trun错误解决方案转载2018年03月9日 09:06:52标签:SyntaxErroPython 中 ‘unicodeescape’ codec can’t decode bytes in position XXX: trun 错误解决方案背景描述今天在运用Py...转载 2018-03-09 10:11:20 · 3634 阅读 · 2 评论 -
python中os.path模块用于操作文件或文件夹
#遍历文件夹 import os # def ergodic_folder(path): # if not os.path.isdir(path): # print("error:") # return # for root,dirs,files in os.walk(path): # for file in files: # ...转载 2018-03-09 10:50:33 · 591 阅读 · 0 评论