chri
Mar 19, 2018 - 20:01
I am trying to read a csv-file. Both python and csv-file are stored on icloud.
But Pythonista cannot read the file. Any ideas what causes this?
I posted a screenshot here: https://imgur.com/a/RYnvJ
Thank you!
# coding: utf-8
import csv
with open('file.csv', 'r') as f:
reader = csv.reader(f)
city_list = list(reader)