Main.Accert._generate_excel#

Accert._generate_excel(c, filename_suffix, proc_name, *args, remove_last_col=False)[source]#

Generate an Excel file from stored procedure results.

Parameters: c : MySQLCursor

MySQLCursor class instantiates objects that can execute MySQL statements.

proc_namestr

Name of the stored procedure.

filename_suffixstr

Suffix of the filename.

argstuple

Arguments for the stored procedure.

remove_last_colbool

Remove the last column if required.