A Wednesday 23 February 2011 16:11:48 Dominik Szczerba escrigué: > Many thanks, Elias. indeed, this does the trick. > However, I am still wondering about the untypical naming convention, > making it not immediately obvious to the user.
The 'untypical' naming convention comes from the necessity of not polluting the group attribute name space so as to get natural naming working. For example, realize that you want to access the "/mygroup/name" dataset. With natural naming you can do that this way: ds = file.root.mygroup.name but, if 'name' would have been used to refer to the `name` attribute, we were not able to use the above notation. Hence, we've decided to use prefixes for accessing actual variable and methods (`_v_` for variable, `_f_` for methods) of a class instance. Hope this makes sense, -- Francesc Alted ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users