Path.is_file()
Return True
if the path points to a regular file (or a symbolic link pointing to a regular file), False
if it points to another kind of file.
False
is also returned if the path doesn’t exist or is a broken symlink; other errors (such as permission errors) are propagated.
Please login to continue.