I have created a new field called "SFX" in a shapefile called "myshape.shp":
input = r"C:\files\myshape.shp" arcpy.AddField_management(input, "SFX", "TEXT", field_length=100)
There is now a field called "SFX" but there are no values in the cells. Now, in that same
shapefile, I have another field called "SUFFIX".
fields = [field.name for field in arcpy.ListFields(input)] for field in fields: if field == 'SUFFIX': print field >>>'SUFFIX'
Lets say 'SUFFIX' has values 'C', 'D', 'G', etc.... What I want to do, is for each row in 'SFX' I want that cell value to be equal to the corresponding cell value of 'SUFFIX'.
Without making complicated lists using a cursor, how would I do that using UpdateCursor or the Field Calculator?