def short_id(self):
        """

        >>> SheetUrl('1234567890').short_id
        '1234567890'

        >>> SheetUrl('12345678901').short_id
        '12345...01'
        """
        if len(self.id) <= 10:
            return self.id
        return '%s...%s' % (self.id[:5], self.id[-2:])
def short_id ( self ) : if len ( self . id ) <= 10 : return self . id return '%s...%s' % ( self . id [ : 5 ] , self . id [ - 2 : ] )
>>> SheetUrl('1234567890').short_id
        '1234567890'

        >>> SheetUrl('12345678901').short_id
        '12345...01'