摘要: import os,sysimport redef walkdir(dirname,dep=1): if(dep<=0): return try: ls=os.listdir(dirname) except: print ('access deny '+dirname) else: for l in ls: temp=os.path.join(dirname,l) if(os.path.isdir(temp)): walkdi... 阅读全文
posted @ 2012-12-04 17:40 Bug山Bug海 阅读(205) 评论(0) 推荐(0)