Folder.get_file_names

Return a list with the name of all text files inside the folder. [source]
Returns:
file_names : list
  The name name of all files text inside the folder.
See also:
folder.get_file_lengths
 Return a dicionary with the name of all files text inside the folder algongside their length i.e their number of rows.

folder.get_file_sizes
 Return the names of all the files inside the folder.

Example:

# Imports
>>> from zgli.folder import Folder

# Initialize class
>>> data_path = 'D:/folder'
>>> folder = Folder(data_path)

# Get file names
>>> file_names = folder.get_file_names()
>>> file_names
['blueWhale.txt',
'cat.txt',
'chimpanzee.txt',
'finWhale.txt',
'graySeal.txt',
'harborSeal.txt',
'horse.txt',
'human.txt',
'mouse.txt',
'rat.txt']