A Friday 30 July 2010 00:09:37 matthew yeomans escrigué:
> I was wondering on how inheritances of classes can be used in pytables.
> 
> Let us say you have
> 
> class A(isdescription):
>       property x...
>       property y...
>       class B(isdescription):
>             property z...
> 
> h5f = openFile('DataBase.h5','w')
> MTdb = h5f.createTable("/",'Database' ,A)
> 
> is it the correct method? I have certain doubts whether this or using
> groups and Arrays.

The above is a way to deal with nested records.  See more about this in:

http://www.pytables.org/docs/manual/ch03.html#id332720

so I don't think this is what you are looking for.  What exactly are you 
trying to do? 

-- 
Francesc Alted

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to