As an additional note, Python has a built-in function for adding loop counters to iterations, enumerate()So, you could even write your example as:import arcpy
from arcpy import env
import string
env.workspace = "C:\\Users\\gisadmin\\Desktop\\TEST"
filter = ''
cur = arcpy.UpdateCursor("C:\\Users\\gisadmin\\Desktop\\TEST\\FH_Test.shp", filter)
for i, row in enumerate(cur):
row.FACILITY_I = str(i) #This is the label for the column you want to update, eg. OID
cur.updateRow(row)
Cheers,