arcpy.InsertCursor
# Create insert cursor for table
rows = arcpy.InsertCursor("c:/base/data.gdb/roads_lut")
# Create 25 new rows. Set the initial row ID and distance values
for x in range(1, 26):
row = rows.newRow()
row.setValue("rowid", x)
row.setValue("distance", 100)
rows.insertRow(row)
arcpy.da.InsertCursor
fields = ['rowid', 'distance']
cursor = arcpy.da.InsertCursor('c:/base/data.gdb/roads_lut', fields)
for x in range(0, 25):
cursor.insertRow((x, 100))
Not tested, just going off of the help doc
InsertCursor—Help | ArcGIS for Desktop
Edit: that link doesn't work if clicked, strange. Just copy/paste url into a new browser address box.