Find QgsApplication's PrefixPath
If you want to create python script that needs to set QgsApplication's PrefixPath, may be this one will be useful.
Rather than looking which path you want to use, just go to QGIS Python Console and run :
QgsApplication.prefixPath()
And you will get your QgsApplication's PrefixPath.
PS : It's very simple, but I spent few hours to find it. Since my QGIS is installed in strange directory.
Written by Ismail Sunni
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#