Calling MySQL stored procedure in python with field names
sorry for the late answer, but I really do not think the chosen answer is good advice, the python mysql module has a method for this already, no need to do weird manips in the ddb. For this, just do:

cursor.callproc('sql_procedure', arguments)
for colid in cursor.stored_results():
    columnsProperties = (colid.description)
    print ([column[0] for column in columnsProperties]) 


you get all properties of the column in colid.description, the first property is the filename which is what you're after.