Name

Table

Examples
def setup():
    table = Table()

    table.addColumn("id")
    table.addColumn("species")
    table.addColumn("name")

    newRow = table.addRow()
    newRow.setInt("id", table.lastRowIndex())
    newRow.setString("species", "Panthera leo")
    newRow.setString("name", "Lion")

    saveTable(table, "data/new.csv")
# Sketch saves the following to a file called "new.csv":
# id,species,name
# 0,Panthera leo,Lion
Description
Related loadTable()
saveTable()
TableRow
Updated on Sun Aug 30 12:17:17 2015.
Creative Commons License