I've added a new column to my table called "STRNAME" using:
path = "/Users/shapefiles/roads/" metro_roads = QgsMapLayerRegistry.instance().mapLayersByName('Metro_roads') processing.runalg('qgis:addfieldtoattributestable', metro_roads, 'STRNAME', 2, 20, 0, path+"Metro_roads_new.shp")
Now I want to populate the new column with values. But I've looked for a processing algorithm (similar to "qgis.addfieldtoattributestable') and can't find one.
How can I add values to a table column from the Python Console?