I have a python code where I am trying to assign a unique, random value to every row. I have tried:
maxvalue = int(arcpy.GetCount_management(shape).getOutput(0)) + 10000for row in arcpy.SearchCursor(shape, fields="FID"): insert = randint(0, maxvalue)...