[Tutor] File path requirements (absolute or relative)?
boB Stepp
robertvstepp at gmail.com
Fri May 15 18:20:27 EDT 2020
On Fri, May 15, 2020 at 11:46:25PM +0200, Peter Otten wrote:
>If you want to be independent from the working directory you can determine
>the directory containing tests.py from within tests.py with
>os.path.dirname(__file__).
This paragraph is what *finally* brought everything back to mind. If I
would more consistently work on programming instead of every blue moon I
might start remembering things. Another heavy sigh.
Thanks, Peter, for your help and patience as well.
--
Wishing you only the best,
boB Stepp
More information about the Tutor
mailing list