views:

531

answers:

1

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...

+15  A: 

That would be os.sep.

Mark Rushakoff