Dear D Pardhu.
You should be able to find your answer to these question(s) in the Python
cookbook:
http://qgis.org/pyqgis-cookbook/
In particular the Loading Vector Layers chapter (OGR library):
http://qgis.org/pyqgis-cookbook/loadlayer.html
and maybe the Reading and Storing Settings chapter
I'm not sure what you mean.
What kind of code do you need ... a simple python plugin?
What do want to do? Saving the actual (opened) user project or adding a
shapefile as a layer?
Please give some more information and maybe someone will answer you.
--
View this message in context:
Date: Mon, 21 Jan 2013 14:07:23 +0800 (SGT)
From: PARDHU D dpardhu...@yahoo.in
To: Qgis-developer@lists.osgeo.org Qgis-developer@lists.osgeo.org
Subject: [Qgis-developer] Opening a Shape file with out any browsing
Message-ID:
1358748443.58916.yahoomail...@web190501.mail.sg3.yahoo.com
Hi to all,
Can anyone please send me the code for QGIS project (saved by the user) or What
is the code for QGIS when saving as a project. I just want
to know the code for shape file (.shp file) in the QGIS project.
Mainly I want code for adding shape file without any browsing. Can any
one