0

How to write into csv file through def function ?

Urgent please tell

20th May 2020, 2:49 PM
Bharat Mangal
Bharat Mangal - avatar
2 Réponses
+ 4
Before we can help you, you should first do a try by yourself. Please put your code in playground and link it here. Thanks! You should also give some more informations, how the csv file should look like. Is it to append to the csv file or to insert somewhere in the middle of the file. Please provide us with a sample for input and desired output.
20th May 2020, 4:58 PM
Lothar
Lothar - avatar
0
I have given print () commands behind def func(),,,,,,i want the print data to be exported to text file
21st May 2020, 3:02 AM
Bharat Mangal
Bharat Mangal - avatar