from csv import reader
opened = open('users.csv')
read = reader(opened)
data = list(read)[1:]
What I expected to happen: To read the user.csv.
What actually happened:
TypeErrorTraceback (most recent call last)
<ipython-input-1-32f6d49a3822> in <module>()
----> 1 opened = open('users.csv')
2 from csv import reader
3 read = reader(opened)
4 data = list(read)[1:]
TypeError: '_io.TextIOWrapper' object is not callable
It looks like
open() is having trouble reading your file. Can you share a sample of the file’s text?
Thanks Otavios. I too think same is the problem, the users.csv seem unavailable for this practice problem. Please find the link…
Well, it works fine in my computer.
Today the seem to another issue when I press the Run Code Button the Connection button On Sale button and Seach button turn red instead of Green. I tried with other practice test too. If run the Submit Answere button it works
It seem to technical error.
I had this problem too. It must be some technical issue.