Lines Matching defs:drive
26 _WINERROR_NOT_READY = 21 # drive exists but is not accessible
77 # If no drive is present, try to find one in the previous
97 (drive, root, parts) tuples. Return a new (drive, root, parts) tuple.
104 # Same drive => second path is relative to the first
220 drive = path.drive
221 if len(drive) == 2 and drive[1] == ':':
222 # It's a path on a local drive => 'file:///c:/a/b'
225 drive, urlquote_from_bytes(rest.encode('utf-8')))
227 # It's a path on a network drive => 'file://host/share/a/b'
610 drive = property(attrgetter('_drv'),
611 doc="""The drive prefix (letter or UNC path), if any.""")
618 """The concatenation of the drive and root, or ''."""
708 # For the purpose of this method, drive and root are considered
794 a drive)."""