| Name | getRow() |
|---|---|
| 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")
row = table.getRow(2)
print(row.getString("name")) # Prints "Mosquito"
row.setString("name", "Ladybug")
print(row.getString("name")) # Prints "Ladybug"
|
| Description | |
| Syntax | |
| Related |
rows() findRow() findRows() matchRow() matchRows() |
Cover
Reference
Tutorials
Examples
Bugs
