how to create a CSV file in python for Twitter | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to create a CSV file in python for Twitter

4th May 2020, 4:40 AM
somanadh
1 Answer
+ 2
Dont hate on Camcoder he's right. You can also use the csv module. You just have to have a few feilds of data you want to write to a file. Then create a writer using csv module, use the writer to write lines . Each line should be a list containing matching values for each feild in order. Then after youre done writing, close the file.
4th May 2020, 10:37 AM
Slick
Slick - avatar