nuke.getFileNameList

nuke.getFileNameList(dir, splitSequences=False, extraInformation=False, returnDirs=True, returnHidden=False) → str

:param dir the directory to get sequences from :param splitSequences whether to split sequences or not :param extraInformation whether or not there should be extra sequence information on the sequence name :param returnDirs whether to return a list of directories as well as sequences :param returnHidden whether to return hidden files and directories. Retrieves the filename list . :return: Array of files.