def getFilePathsByDirectory(directoryName):
 absoluteDirectoryPath = os.path.abspath(directoryName)
 directory = os.listdir(directoryName)
 filePaths = []
 for fileName in directory:
  filePaths.append(os.path.join(absoluteDirectoryPath, fileName))
 return filePaths

def getFilePathsByDirectory ( directoryName ) : absoluteDirectoryPath = os . path . abspath ( directoryName ) directory = os . listdir ( directoryName ) filePaths = [ ] for fileName in directory : filePaths . append ( os . path . join ( absoluteDirectoryPath , fileName ) ) return filePaths
get the file paths in the directory of the file in directory .