Closed toewsar closed 1 year ago
This is not c8ylp related I guess, but have you checked this: https://note.nkmk.me/en/python-script-file-path/ This depends on the python version you are using.
Why is it not c8ylp related? I'm writing a c8ylp plugin and the solution metions in the link does not work.
Hi,
I'm writing my own plugin in python. I would like to use other files which are a located in the same directory as the plugin itself. Is it possible to find out in which directory the script is located? The common way with
__file__
is not possible.BR Artur