def char(i):
    """Get image data for the character `i` (a one character string).
    Returned as a list of rows.  Each row is a tuple containing the
    packed pixels.
    """

    i = ord(i)
    if i not in font:
        return [(0,)] * 8
    return [(ord(row),) for row in font[i].decode('hex')]
def char ( i ) : i = ord ( i ) if i not in font : return [ ( 0 , ) ] * 8 return [ ( ord ( row ) , ) for row in font [ i ] . decode ( 'hex' ) ]
Get image data for the character `i` (a one character string).
    Returned as a list of rows.  Each row is a tuple containing the
    packed pixels.