[Python-Dev] Drive suffix

Rob Cliffe rob.cliffe at btinternet.com
Wed Aug 4 16:45:45 CEST 2010


Is there a way of determining the suffix used after a drive letter to denote a drive, e.g. on Windows the ":" in r"C:\Dir\Subdir\File.Ext" ?  Or is the colon so universal that it is considered unnecessary?  Should it be in the os module somewhere (as far as I can tell, it isn't, although every other kind of file path component separator seems to be) ?
Best wishes
Rob Cliffe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100804/3ac2187d/attachment.html>


More information about the Python-Dev mailing list