A Sunday 11 May 2008, David Wilson escrigué:
> Here is more detail on the error (*TypeError: invalid type for
> ``rating`` column: *
> ) I get. Thanks for your help:
>
> ##
> dcw$ python test1-insert.py
>
> movie3.h5 (File) ''
> Last modif.: 'Sat May 10 14:25:08 200
Here is more detail on the error (*TypeError: invalid type for ``rating``
column: *
) I get. Thanks for your help:
##
dcw$ python test1-insert.py
movie3.h5 (File) ''
Last modif.: 'Sat May 10 14:25:08 2008'
Object Tree:
/ (RootGroup) ''
/ratings (Table(7L,)) ''
/ra
This is my first post. Thanks for your help.
I am having a weird problem with my first attempt to use PyTables.
In ipython, this works:
import tables
h5f = tables.open...
tbl = h5f.root.ratings
row in tbl.row
row[column] = 3
row.append()
...but if I run the same code from a file ("python foo.py