(file)
| 12 | |
| 13 | |
| 14 | def read(file): |
| 15 | fileh = tb.open_file(file, "r") |
| 16 | |
| 17 | print("table (short)-->", fileh.root.table) |
| 18 | print("table (long)-->", repr(fileh.root.table)) |
| 19 | print("table (contents)-->", repr(fileh.root.table[:])) |
| 20 | |
| 21 | fileh.close() |
| 22 | |
| 23 | |
| 24 | def write(file, desc, indexed): |