In my previous article, we learned how to add a vector layer to QGIS canvas using Python code. It’s pretty simple and straightforward. Now, we will continue working with the vector layer. We will perform some basic operations on the vector file such as counting the number of features and