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.
Best regards, Dominik On Wed, Feb 23, 2011 at 3:18 PM, <elias.col...@gulfstream.com> wrote: > Hi Dominik, > > I think what you're looking for is an attribute (not a method) > > print group._v_name > > HTH, > Elias > > > > From: Dominik Szczerba <domi...@itis.ethz.ch> > > To: Discussion list for PyTables > <pytables-users@lists.sourceforge.net> > > Date: 02/23/2011 08:25 AM > > Subject: [Pytables-users] query node/group name > > > > > > > Hi, > I am struggling to get a name of a group: > > > for group in f.walkGroups(): > print group > > This prints me things like: > > /mygroup1 (Group) '' > > while I want to get a name (path) of the current group. I can not seem > to find any group.GetName() method or similar in the documentation. > I will be happy for any hints. > > Thanks & Regards, > Dominik > > ------------------------------------------------------------------------------ > > 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 > > > > > ------------------------------------------------------------------------------ > 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 > > ------------------------------------------------------------------------------ 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