Closed kwloafman closed 1 year ago
That is because platform
argument defaults to "universal"
.
universal
means that check if the file path is usable on any OS.
File paths starting with /
is invalid for Windows.
The return value will be True
if you set platform
keyword argument value for any of "auto"
, "POSIX"
, "macOS"
.
On macOS 12.6.6. Basically, it's marking anything with a leading '/' as invalid.