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