-1
rint(sf.columns)
se=float(numb1.get())


cur.execute("select distinct nassereddine_carte_gouv.c_gouv  from nassereddine_carte_gouv,disshp where nassereddine_carte_gouv.c_gouv=disshp.id and Shape_leng <='%s'"%(numb1.get())+"and disshp.rowid_ between'%s'"%(numb3.get())+"and '%s'"%(numb2.get()))
rr=cur.fetchall()
s=sf[sf['C_GOUV']==16]['geometry'] ### the error in this line
for i in rr:
    print(i)
    s=sf[sf['C_GOUV']==i]['geometry']
New contributor
naser is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.