Reputation: 96937
Is there some built-in function that tells me if a path is absolute or not? I'd like something that is platform independent.
Upvotes: 2
Views: 169
Reputation: 41316
The os.path.isabs function does this.
os.path.isabs
Upvotes: 13