import arcpy, string, os, fileinput from arcpy import env env.workspace = "desired workspace" env.overwriteOutput = True fc = "desired feature class" verification = arcpy.Exists (fc) print verification del verification cursor = arcpy.da.UpdateCursor (fc, ["STOINLET_I"]) for row in cursor: row.Replace(row[0:],'') del row del cursor
Solved! Go to Solution.
cursor = arcpy.da.UpdateCursor (fc, ["STOINLET_I"]) for row in cursor: cursor.updateRow([row[0][1:]])
cursor = arcpy.da.UpdateCursor (fc, ["STOINLET_I"]) for row in cursor: cursor.updateRow([row[0][1:]])
cursor = arcpy.da.UpdateCursor (fc, ["STOINLET_I"]) for row in cursor: cursor.updateRow([row[0][1:]])