0
Hello,
It turns out that you are running your python file a folder before RD2
, which ends up defining the project root as the folder containing the folder RD2
. (I believe it’s running on Vscode)
So when you use the with open('data.csv')
, it looks for the file at the root. And, as it doesn’t really exist in that folder, it will give the error.
If you play the data.csv
out of RD2
, the execution will take place normally.
Or you put with open('RD2/data.csv') as _file:
which will also work! :)
The script you run is this
Rn.py
?– JeanExtreme002
yes, both are in the same folder
– Bruno Luiz Bender