os.sep and os.path.sep

billiejoex gnewsg at gmail.com
Sun Sep 9 17:48:38 CEST 2007

>>> import os
>>> hasattr(os, 'sep')
>>> hasattr(os.path, 'sep')

By chance I noticed it.
Are there differences (I think not...)?
IMHO, if there are no differences os.path.sep should be removed since
it may be confusing.

More information about the Python-list mailing list