SHARE
TWEET

Untitled

a guest Jul 16th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from PyQt4.QtGui import *
  2. from PyQt4.QtCore import *
  3. from qgis.core import *
  4. from qgis.utils import iface
  5.  
  6. project = QgsProject.instance()
  7. mFile=QFileInfo("C:\Project.qgs")
  8. project.read(mFile)
  9.  
  10. I want to run this code using batch command from windows
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top