def _relpath ( name ) : return os . path . normpath ( os . path . splitdrive ( name ) [ 1 ] ) . lstrip ( _allsep )
python extract zip path too long
Strip absolute components from path . Inspired from zipfile . write () .
def _relpath(name):
    """
    Strip absolute components from path.
    Inspired from zipfile.write().
    """
    return os.path.normpath(os.path.splitdrive(name)[1]).lstrip(_allsep)