Is there a portable way to search if the path is absolute using Python?

Is there a built-in function that tells me if a path is absolute or not? I would like something platform independent.

+2


source to share


1 answer


The function os.path.isabs

does this.



+13


source







All Articles