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"). I get an
error. Something like:
type int not allowed for column in row.__setitem__

Let me know if this jumps out at you (can I use the normal python
interperetor) does the type get messed up?

I'll post the actual code later today.  Thanks for your help!

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to