Skip to main content

Find the first instance of a file on a path of directories, with possible file extensions.

findfile_path (fname, path, exts = None)

fname can be either a string or Path object, or an iterable of strings or Path objects. The first matching file in the first directory on path (a list of string or Path objects) with the first extension (exts – an optional list of strings) is returned, else None.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

findfile_path-0.0.1.post10.tar.gz (20.8 kB view details)

Uploaded Source

File details

Details for the file findfile_path-0.0.1.post10.tar.gz.

File metadata

  • Download URL: findfile_path-0.0.1.post10.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.9

File hashes

Hashes for findfile_path-0.0.1.post10.tar.gz
Algorithm Hash digest
SHA256 142570056807ad5d3b19b4cb45a909dbad2d16dfa43baccfb34f51f29854719a
MD5 93a91c5743ca6d8b891e425df5d0f5d1
BLAKE2b-256 7ab154fb40d590b69f279dd5ee06c66ba09b4356b3c4ecbaa0692e65ee05836c

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.post3

2 files

0.2.post2

2 files

0.2.post1

2 files

This release

0.0.1.post10 This release

1 file

0.0.1.post9

1 file

0.0.1.post6

1 file

0.0.1.post5

1 file

0.0.1.post4

1 file

0.0.1.post3

1 file

0.0.1.post2

1 file

0.0.1.post1

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page