Reputation: 1
Calculyour textating total months - CSV file Iimportedd csv file correctly. I even received a path after adding csvpath.Trying toocalculatedg the total number of months in the CSVs file, now getting errorno 2, no such file or directory with the file link I tried to access.
Upvotes: -3
Views: 41
Reputation: 87
You can verify your full path using os.path.abspath()
function:
import os
csvpath = os.path.join('..', 'Resources', 'budget-data.csv')
os.path.abspath(csvpath)
This way you will get full path of desired csv file and you can check whether it's right path or not.
Upvotes: -1