'Pad data with extra characters on all sides.
Args:
data (str): Text to pad.
Returns:
text (str): Padded text.'

def _pad(self, data):

    left = (self.hpad_char * self.pad_left)
    right = (self.hpad_char * self.pad_right)
    vfill = (((self.width + self.pad_left) + self.pad_right) * self.vpad_char)
    top = [vfill for _ in range(self.pad_top)]
    bottom = [vfill for _ in range(self.pad_bottom)]
    return ((top + [((left + line) + right) for line in data]) + bottom)
