PyDocs

Nav

File and Directory Access

PathInfo.is_file

  • PathInfo.is_file(*, follow_symlinks=True)
Return True if the path is a file, or a symbolic link pointing to a file; return False if the path is (or points to) a directory or other non-file, or if it doesn’t exist.
0 Examples
No examples for pathlib.types/PathInfo.is_file.
See Also
No see-alsos for pathlib.types/PathInfo.is_file
0 Notes
No notes for PathInfo.is_file