[QGIS-Developer] QGIS variables in Python code

Andreas Neumann a.neumann at carto.net
Wed Nov 22 03:21:44 PST 2017


Hi,

Is it possible to query the value of a QGIS variable in Python code? 
E.g. I'd like to find out in my code the full storage path to the folder 
of my current QGIS project, which would be available in the 
@project_folder variable.

Are variable values accessible through the Python API?

Thanks for any example or hint,

Andreas



More information about the QGIS-Developer mailing list