Mar-29-2018, 05:51 AM
The following code successfully created a .csv file:
What tool do I need to open and view it?
#!/usr/bin/env python3 #MoviesCSV.py import csv movieList = [["Monty Python and the Holy Grail", 1975], ["Uncle Bazerko's Violent Adventure", 2011], ["The Expendables", 2010], ["Duke Nukem: Fate of Humanity", 2019]] with open("movies.csv", "w", newline="") as file: writer = csv.writer(file) writer.writerows(movieList)But I can't open it:
What tool do I need to open and view it?