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() |
Cover
Reference
Tutorials
Examples
Bugs