utility_accert.Utility_methods.print_account#

Utility_methods.print_account(c, all=False, cost_unit='dollar', level=3)[source]#

Prints the account table.

Parameters:
  • c (MySQLCursor) – MySQLCursor class instantiates objects that can execute MySQL statements.

  • all (bool, optional) – If True, print all the accounts columns. (By default False)

  • cost_unit (str, optional) – Unit of the total cost. (By default ‘dollar’)

  • level (int, optional) – Level of account. (By default 3)