Re: How to get working directory?
Fawaz Abdul rahman
Hi, os.path.dirname(__file) should give you the path of the current script. if you want the absolute path then os.path.abspath(os.path.dirname(__file)) good luck.
On Sun, Sep 12, 2021 at 6:58 AM 高生旺 <coscell@...> wrote: In my addon, if I call os.getcwd(), it always return
|
|