I'm trying to use UpdateCursor to insert some text into an attribute. The attribute is a text field ten characters in length. However the script will only work for values of one character in length.
i.e. if MyValue = "A" the script works
but if MyValue = "All" the error says 'sequence size must match size of the row'
with arcpy.da.UpdateCursor(MyFeatureLyr, MyAttribute) as cursor:
for row in cursor:
cursor.updateRow(MyValue)