Azad Rasul


7- Show attribute table of a vector layer

Azad Rasul's photo
Azad Rasul
·Jun 25, 2021·

1 min read

Subscribe to my newsletter and never miss my upcoming articles

Listen to this article

We can use iface.showAttributeTable() function for opening attribute table of a vector layer:

uri = "D:/Python_QGIS/data/Countries.shp"
vlayer = QgsVectorLayer(uri, "Countries", "ogr")


If you like the content, please SUBSCRIBE to my channel for the future content

Share this