In the context of this question
i build this python phrase in ArcGIS 10.3:
def FindLabel ([OBJECTID]): if long([OBJECTID])==125 and long([OBJECTID]) ==190: label = [SHEM_KID] else: label = None return label
in order to label only OBJECTID number 125 and 190. My problem is that nothing happen, and all label disappear from the map. I try also to remove "long" from the code and it also didn't worked.
Is it possible to do it with python code?
I tried this code also but with no success:
def FindLabel ([OBJECTID], [SHEM_KID]): if ([OBJECTID])=='125' AND ([OBJECTID]) =='190': label = [SHEM_KID] return label