A Friday 22 May 2009 05:10:52 Dav Clark escrigué:
> You need to be a little careful reading the attrs off... PyTables also
> keeps some stuff in there (which I'm guessing you don't want!).  The
> user attribute names are in attrs._v_attrnamesuser if your program
> doesn't know what to expect ahead of time.

Well, if you find PyTables attributes confusing, you can always instruct 
PyTables to not write them.  This is done by setting the parameter 
`PYTABLES_SYS_ATTRS` to `False` in "tables/parameters.py" or by passing this 
as a parameter to the `openFile` function, like in:

f = openFile('your_file, 'w', PYTABLES_SYS_ATTRS=False)

Cheers,

-- 
Francesc Alted

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to