name
Returns the name of the file or directory represented by this path.
How the name is resolved is platform-specific.
In general, one may expect that for a path like Path("home", "Downloads", "file.txt")
the name is file.txt
.
Returns the name of the file or directory represented by this path.
How the name is resolved is platform-specific.
In general, one may expect that for a path like Path("home", "Downloads", "file.txt")
the name is file.txt
.