mercredi 21 octobre 2020

How to look what is inside the csv file writer PYTHON

I have this writer object, but if I fill it with rows I want to have a look at it. How to know what the rows inside look like. Because I want to delete a column afterward.

it is already filled in with a few rows so that is not the problem. I just want to know what's inside the writer or the response.

writer = csv.DictWriter(response,fieldnames=csv_columns)

Aucun commentaire:

Enregistrer un commentaire