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"
Solved! Go to Solution.
Dear rfairhur24 please i want to be able to select a name from a drop down list of a combobox i created and i use to use the enter tab to set the process and not by just selecting the name. which of the following codes would i use? Thanksdef onEditChange(self, text): pass def onFocus(self, focused): pass def onEnter(self): pass def refresh(self): pass
Please start a new thread for this question. It is completely different from the other questions on this thread. Also, I am not an expert on Python custom user interface design, so I am not sure I can help. Please indicate how you created this combobox when you repost. Are you hosting the combobox using a script tool interface, a tkinter interface, or what?