(self)
return self.__class__(drive), rel
p.splitdrive() -> Return (p.drive, <the rest of p>).

        Split the drive specifier from this path.  If there is
        no drive specifier, p.drive is empty, so the return value
        is simply (path(''), p).  This is always the case on Unix.
p.splitdrive() -> Return (p.drive, <the rest of p>).
p . splitdrive () - > Return ( p . drive <the rest of p > ) .
def splitdrive(self):
        """ p.splitdrive() -> Return (p.drive, <the rest of p>).

        Split the drive specifier from this path.  If there is
        no drive specifier, p.drive is empty, so the return value
        is simply (path(''), p).  This is always the case on Unix.
        """
        drive, rel = os.path.splitdrive(self)
        return self.__class__(drive), rel
def splitdrive ( self ) : drive , rel = os . path . splitdrive ( self ) return self . __class__ ( drive ) , rel