[Qgis-developer] Including style on a Qgis plugin

Tom Chadwin tom.chadwin at nnpa.org.uk
Thu Oct 13 05:27:00 PDT 2016


Hi Xavier

This should give you the path to your plugin's installation folder:

os.path.dirname(os.path.realpath(__file__))

Hope this is what you need.

Tom



-----
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Including-style-on-a-Qgis-plugin-tp5290553p5290560.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list