March 2003
Intermediate to advanced
656 pages
39h 30m
English
splitdrive
splitdrive(path)Returns a pair of strings
(
drv,pth
)
such that
drv
+
pth
equals path.
drv is either a drive specification or
''. drv is always
'' on platforms that do not support drive
specifications, such as Unix. For example, on Windows,
os.path.splitdrive('c:d/e') returns the pair
('c:','d/e').
Read now
Unlock full access