I'm new to python and I'm trying to learn it using Google Colab I'm trying to open a CSV file, but I just can't do it.
import csv
open(r'C:\Users\User\Desktop\username.csv')
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
<ipython-input-30-d948a291431c> in <module>()
1 import csv
----> 2 open(r'C:\Users\User\Desktop\username.csv')
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\User\\Desktop\\username.csv'
I've already searched for similar questions, mostly of them sugest the problem is the (r'C:\completelocalfile), but I already tried, as you can see on my code, however it's not working for me. Any sugestions?