I have been attempting label certain objects in a layer based on another field being populated or "NOT NULL". I am fairly new to ESRI and python and still learning and could use some assistance.
My attempt at a script is as follows:
def FindLabel ([STATUS], [FRSTDIVNO]):
if ([STATUS]) IS NOT NULL:
print ([FRSTDIVNO])
I am getting a syntax error:
Invalid Expression
File "<string>", line 2
if (esri_0) IS NOT NULL:
SyntaxError: invalid syntax