Reputation: 5836
Just out of curiosity - is there another way to obtain the platform's path separator char than os.path.normcase('/') in Python 2.4? I was expecting something like a os.path.separator constant...
os.path.normcase('/')
os.path.separator
Upvotes: 16
Views: 7736
Reputation: 258188
That would be os.sep.
os.sep
Upvotes: 41