Skip to content

str() without any details - only structure? (removing elements from list)

2 messages · oliver, Greg Snow

#
Hello,

can I get somehow the pure structure without any details
via str or other functions?

I have a very large list with lists as elements...
And now I want to know which structure I have, becaiuse I need to kick out some
entries.

Any idea?

Oliver
#
Look at TkListView in the TeachingDemos package as one option (though for large lists it is noticeably slower than str).  It creates a tree structure representing your list that you can then expand or collapse branches in.