I have done following steps, so how I open that created shp file in Qgis
driver=ogr.GetDriverByName('ESRI Shapefile') out=driver.CreateDataSource('pts.shp') outL=out.CreateLayer('lake',geom_type=ogr.wkbPolygon) farea=ogr.FieldDefn('ara',ogr.OFTString) farea.SetWidth(16) outL.CreateField(farea) sr=osr.SpatialReference() sr.ImportFromEPSG(4326) featDef=outL.GetLayerDefn() ring=ogr.Geometry(ogr.wkbLinearRing) # gave points correctly poly=ogr.Geometry(ogr.wkbPolygon) poly.AddGeometry(ring)
... likewise I follow the all steps, Now I want to open the created file in QGis. However, I could not find the path of the file. where I can find it?