Created
July 17, 2020 08:23
-
-
Save CHARITH1995/18a34af0e3e826d52b9c581b17a9151b to your computer and use it in GitHub Desktop.
save data on a .csv file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with open ('news.csv','w',encoding="utf-8") as file: # you have to create .csv file call news.csv before use this | |
writer=csv.writer(file) | |
writer.writerow(course) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment