# coding: utf-8 import os FindPath="E:/PythonExample" filenames=os.listdir(FindPath) for name in filenames: filePath=os.path.join(FindPath,name) print(filePath)
# coding: utf-8 import os FindPath="E:/PythonExample" filenames=os.listdir(FindPath) for name in filenames: filePath=os.path.join(FindPath,name) print(filePath)