0
Please help me out
I have opened a txt file with the name demo.txt but when I'm typing it out on python and running the program it says file not found. Where am I going wrong? https://code.sololearn.com/clqfLYHk4Vv1/?ref=app
2 Answers
0
May be both are in different directories... Once check it out... đ
+ 4
The easy way to find out wheter it work is first to write a test file from the same code wher you want to open it. And then to look if the test file can be opened. If it works you can see in which directory will be written and put your txt file there.
After that you can learn how will be moved trough different directories.