#-*- coding: utf-8 -*-
import sys, os.path
thePath = sys.argv[1]
def listFile(args, dirName, fileNames):
    for fileName in fileNames:
        filePath = os.path.join(dirName, fileName)
        if os.path.isfile(filePath):
            print filePath
os.path.walk(thePath, listFile, None)

7951beb0a21fc7c1a51936fe6729f3239a402179
#-*- coding: utf-8 -*-
import sys, os.path
thePath = sys.argv[1]
def listFile(args, dirName, fileNames):
    for fileName in fileNames:
        filePath = os.path.join(dirName, fileName)
        if os.path.isfile(filePath):
            print filePath
os.path.walk(thePath, listFile, None)
