Is there a portable way of finding if a path is absolute, using Python?
-
19-09-2019 - |
Question
Is there some built-in function that tells me if a path is absolute or not? I'd like something that is platform independent.
Solution
The os.path.isabs
function does this.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow