def build_files_list(root_dir):
 return [os.path.join(dirpath, file_path) for (dirpath, subdirs, files) in os.walk(root_dir) for file_path in files]

def build_files_list ( root_dir ) : return [ os . path . join ( dirpath , file_path ) for ( dirpath , subdirs , files ) in os . walk ( root_dir ) for file_path in files ]
build a list containing absolute paths to the generated files .