I want to use an if else statement to pass a condition and it's not returning any of the two values what im i doing wrong?fc = "Parcels" field = "GeneratedN" cursor = arcpy.SearchCursor(fc) for row in cursor: row.getValue(field) Val = row.getValue(field) if Val == 1: print "Done" else: print "Not Done"
Any suggestions please