[Geany-Devel] Python question

Pavel Roschin roshin at xxxxx
Sat Apr 26 17:43:21 UTC 2014

> Another (untested) hack that might work:
>    def geanypy_path():
>      import geany, os
>      path = os.path.dirname(
>        os.path.dirname(os.path.dirname(geany.__file__)))
>      return os.path.join(path, "geanypy.so")
> Cheers,
> Matthew Brush

It works good too, but as I mentioned above, casting doc to correct pointer
isn't simple in Python (and I have no ideas how to).

Best regards,
Pavel Roschin aka RPG

More information about the Devel mailing list