S
Stef Mientki
hello,
I've pictures stored in a path relative to my python source code.
To get a picture, I need to know what path I'm on in each python module.
I thought __file__ would do the job,
but apparently I didn't read the documentation carefully enough,
because file is the path to the module that called my module.
Any ways to get the path of "myself" ?
thanks,
Stef Mientki
I've pictures stored in a path relative to my python source code.
To get a picture, I need to know what path I'm on in each python module.
I thought __file__ would do the job,
but apparently I didn't read the documentation carefully enough,
because file is the path to the module that called my module.
Any ways to get the path of "myself" ?
thanks,
Stef Mientki