os.path.splitunc(path)
Deprecated since version 3.1: Use splitdrive instead.
Split the pathname path into a pair (unc, rest)
so that unc is the UNC mount point (such as r'\\host\mount'
), if present, and rest the rest of the path (such as r'\path\file.ext'
). For paths containing drive letters, unc will always be the empty string.
Availability: Windows.
Please login to continue.