arcpy.CalculateField_management("pythontesting", "FIELD3", ("FIELD1" + 1) * "FIELD2", "PYTHON")
Solved! Go to Solution.
updateRows = arcpy.UpdateCursor("pythontesting", "", "", "FIELD3") updateRow = updateRows.next() while updateRow: if updateRow.FIELD1 == 1: updateRow.FIELD3 = (updateRow.FIELD1 + 1) * updateRow.FIELD2 else: pass updateRows.updaterow(updateRow) updateRow = updateRows.next()