This question has been flagged

Hi friends,

This is my scenario(all is done in a Python file):

1- Some payments based on some condition are selected

2- For each payment, some conditions are checked and some new data are provided

3- Now, all provided data for all payments (data that are needed to export in XLSX file)  are in an object(list). 

How can I generate XLSX file from my data?


Note: Some columns in XLSX file might not be directly in the payment(or relational) model. Suppose in a column I want to set 0 or 1 if the payment is of type cash or not.

Avatar
Discard