sknano.core.listdir¶
-
sknano.core.
listdir
(path='.', filterfunc=None, filter_dirnames=False, filter_fnames=False, include_path=False)[source][source]¶ Return a tuple of the names of the directories and files in the directory given by
path
.Parameters: path :
str
, optionalfilterfunc : function, optional
filter_dirnames :
bool
, optionalfilter_fnames :
bool
, optionalinclude_path :
bool
, optionalReturns: (dirnames, fnames) :
tuple
tuple
of names of directories and files inpath
.