The pyedb.generic.filesystem library#

Summary#

search_files

Search for files inside a directory given a specific pattern.

my_location

get_json_files

Get the absolute path to all *.json files in start_folder.

Module detail#

filesystem.search_files(dirname, pattern='*')#

Search for files inside a directory given a specific pattern.

Parameters:
dirnamestr
pattern :str, optional
Returns:
list
filesystem.my_location()#
filesystem.get_json_files(start_folder)#

Get the absolute path to all *.json files in start_folder.

Parameters:
start_folder, str

Path to the folder where the json files are located.

Returns: