Answer the question
In order to leave comments, you need to log in
How to specify a relative path to a folder in the program?
In the program code, I have the path to the folder. When I run it from the interpreter, everything works, but when I try to run it from the console, I get an error that the folder was not found. How to fix it?
Answer the question
In order to leave comments, you need to log in
Use environment variables. And then add the path from the start directory to the date directory
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question