python-util-list-files

python-util-list-files is a compiled Lisp function in `python.el'.

(python-util-list-files DIR &optional PREDICATE)

List files in DIR, filtering with PREDICATE.
Argument PREDICATE defaults to `identity' and must be a function
that takes one argument (a full path) and returns non-nil for
allowed files.