You can insert a row
into a table or feature class using an
InsertCursor object. If you want to insert attribute values along with the new row, you'll need to supply the values in the order found in the attribute table.
InsertCursor() function is used to create an
InsertCursor object that allows you to programmatically add new records to feature classes and tables. The
insertRow() method on the
InsertCursor object adds the row. A row, in the form of a list or tuple, is passed into the
insertRow() method. The values in the list must correspond to the field values defined when the
InsertCursor object was created. Just as with the other types of cursors, you can also limit the field names returned ...