摘要: 代码如下: import osf = open("d:\\sourcesinfo.txt","w+");fileinfos = os.walk("d:\\sources")for root, dirs, files in fileinfos: for fi in range(0,files.__len__()): f.write(os.path.join(root,files[fi])) f.wr... 阅读全文
posted @ 2010-02-11 12:48 飘啊飘 阅读(742) 评论(0) 推荐(0) 编辑