Re: [gedit-list] Plugin location



Hi!

Is there a way for a python plugin to know the location of itself?
If I print os.getcwd() in the configuration plugin I get /home/user/ , but the plugin is stored at ~/.local/.share/gedit/plugins/pluginname/
I want to save some settings of the plugin.

Thanks in advance for any tips

Regards

George


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]