PyDocs

Nav

File and Directory Access

Path.is_file

pathlib

method of Path (source)
  • Path.is_file(*, follow_symlinks=True)
Whether this path is a regular file (also True for symlinks pointing
to regular files).
Changed in 3.13
  • 3.13: The follow_symlinks parameter was added.
0 Examples
No examples for pathlib/Path.is_file.
See Also
No see-alsos for pathlib/Path.is_file
0 Notes
No notes for Path.is_file