views:

114

answers:

1

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

+11  A: 

The os.path.isabs function does this.

Lukáš Lalinský
The link goes to `isabs`.
Geo