PyDocs

Nav

Importing Modules

FileFinder

importlib.machinery

class · Added in 3.3 (source)
  • FileFinder(path, *loader_details)
File-based finder.

Interactions with the file system are cached for performance, being
refreshed when the directory the finder is handling has been modified.
Members of FileFinder

f

find_spec
Try to find a spec for the specified module.

i

invalidate_caches
Invalidate the directory mtime.

p

path
The path the finder will search in.
path_hook
A class method which returns a closure to use on sys.path_hook which will return an instance using the specified loaders and the path called on the closure.
0 Examples
No examples for importlib.machinery/FileFinder.
See Also
No see-alsos for importlib.machinery/FileFinder
0 Notes
No notes for FileFinder