Reference taken: https://www.bradley365.com/qgis/split-layer-by-attribute.html
I took reference from above mentioned site and wrote:
import processing input = 'D:\Geo_Data\maps-master-Saikat\maps-master\States' field= 'State_Name' operator = 0 value = 'Goa' output = 'C:\Users\rpatro\Desktop\osm\Output' processing.runalg('qgis:extractbyattribute',input,field,operator,value,output)
But its showing:
Can anyone help me to solve this error?
I am a bit new to scripting and all.