Name

TableRow

Examples
def setup():
    table = Table()

    table.addColumn("number", Table.INT)
    table.addColumn("mass", Table.FLOAT)
    table.addColumn("name", Table.STRING)

    row = table.addRow()
    row.setInt("number", 8)
    row.setFloat("mass", 15.9994)
    row.setString("name", "Oxygen")

    print(row.getInt("number"))   # Prints 8
    print(nf(row.getFloat("mass"), 2, 4))  # Prints 15.9994
    print(row.getString("name"))  # Prints "Oxygen
Description
Related Table
addRow()
removeRow()
clearRows()
getRow()
rows()
Updated on Sun Aug 30 12:17:17 2015.
Creative Commons License