Author qpeter
Recipients qpeter
Date 2020-10-27.14:09:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603807768.89.0.439108137807.issue42170@roundup.psfhosted.org>
In-reply-to
Content
Python 3.7.6 (default, Jan  8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.

IPython 7.18.1 -- An enhanced Interactive Python.

In [1]: import os.path

In [2]: os.path.splitdrive(r"\\machine\mountpoint\directory")
Out[2]: ('\\\\machine\\mountpoint', '\\directory')

In [3]: os.path.splitdrive(r"\\?\UNC\machine\mountpoint\directory")
Out[3]: ('\\\\?\\UNC', '\\machine\\mountpoint\\directory')

In [4]:
History
Date User Action Args
2020-10-27 14:09:28qpetersetrecipients: + qpeter
2020-10-27 14:09:28qpetersetmessageid: <1603807768.89.0.439108137807.issue42170@roundup.psfhosted.org>
2020-10-27 14:09:28qpeterlinkissue42170 messages
2020-10-27 14:09:28qpetercreate