On Aug 30, 2014 6:37 AM, "No Reply" <moviemanagementdynweb gmail com> wrote:
>
> 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
>
>
os.path.abspath(os.path.dirname (__file__))
Dustin
_______________________________________________
> gedit-list mailing list
> gedit-list gnome org
> https://mail.gnome.org/mailman/listinfo/gedit-list
>