[QGIS-Developer] Import Python modules from another installed plugin, if present
Matthias Kuhn
matthias at opengis.ch
Wed Nov 8 13:46:14 PST 2017
To slightly expand on that:
the qgis.utils.plugins dict lists loaded plugins, installed ones can
just be imported (and guarded with a try-except) if the loading part is
not actually a pre-requisite.
Matthias
On 11/08/2017 07:19 PM, Tom Chadwin wrote:
>> from timemanager.layer_settings import LayerSettings
> Ah, it's as simple as that! Thank you so much.
>
> Tom
>
>
>
> -----
> Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
More information about the QGIS-Developer
mailing list