Guest User

Untitled

a guest
Jan 18th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. >>> from qgis.core import QGis
  2.  
  3. >>> QGis.QGIS_VERSION
  4. u'2.18.5'
  5. >>> QGis.QGIS_VERSION_INT
  6. 21805
  7.  
  8. >>> QGis.QGIS_RELEASE_NAME
  9. u'Las Palmas'
  10.  
  11. try:
  12. from qgis.core import Qgis
  13. except ImportError:
  14. from qgis.core import QGis as Qgis
  15.  
  16. from qgis.core import *
  17. print QGis.QGIS_VERSION # will print 2.18.13
Add Comment
Please, Sign In to add comment