GeGetPluginPath does not return correct path

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 20/10/2011 at 02:05, xxxxxxxx wrote:

I've been trying to import a python file that sits in the same folder as the plugin without success. It appears that GeGetPluginPath() does not return the path to the plugin, but the path to the Python module \resource\modules\python. I'm pretty sure that's not how it should work? (this is on 13029 btw)

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 20/10/2011 at 03:41, xxxxxxxx wrote:

For the path of Python plugins please use __file__ and os.path members to split like

folder,fname=os.path.split(__file__)