Name | rows() |
---|---|
Examples |
def setup(): table = Table() table.addColumn("name") table.addColumn("type") newRow = table.addRow() newRow.setString("name", "Lion") newRow.setString("type", "Mammal") newRow = table.addRow() newRow.setString("name", "Snake") newRow.setString("type", "Reptile") newRow = table.addRow() newRow.setString("name", "Mosquito") newRow.setString("type", "Insect") for row in table.rows(): print(row.getString("name") + ": " + row.getString("type")) # Sketch prints: # Lion: Mammal # Snake: Reptile # Mosquito: Insect |
Description | |
Syntax | |
Related |
getRow() findRow() findRows() matchRow() matchRows() |
Cover
Reference
Tutorials
Examples
Bugs