def pretty_table(cursor):
    """
    美化打印table返回的数据(只支持select)
    :param cursor: cursor数据库的游标
    :return: None
    """
    from prettytable import from_db_cursor
    tb = from_db_cursor(cursor=cursor)
    tb.align = 'l'
    print(tb)
    return
