Categories
不学无术

Python如何遍历一个文件夹下的所有文件

import glob
fileList=glob.glob(“E:PythonWork*.exe”)
for filename in fileList:
带参数调用filename
 
 
source:
http://bbs.csdn.net/topics/90198608

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.