Print Table
- class utility_accert.Utility_methods
Utility class
- print_table(c, align_key=None, align=None, format_col=None)
Prints the table in an organized format via the PrettyTable library.
Parameters
- cMySQLCursor
MySQLCursor class instantiates objects that can execute MySQL statements.
- align_keylist[str], optional
List of column names to align. (By default none)
- alignlist[str], optional
List of alignments. Left, right or center. (By default none)
- format_collist[str], optional
List of column names to format. (By default none)