I have a CSV file in Documents , and I want to open it with python2. I run this
print os.getcwd()
/Users/baicai
My file in /Users/baicai/Documents/blabla.csv
I run this get error
df= open('/Documents/blabla.csv')
IOError: [Errno 2] No such file or directory: '/Documents/blala.csv'
or this
f=open('/User/baicai/Documents/blabla.csv')
IOError: [Errno 2] No such file or directory: '/User/baicai/Documents/blabla.csv'
How to read? Thanks