Re: Tree library - multiple children

2013-12-13 Thread Ricardo Aráoz
El 13/12/13 18:05, bucha...@gmail.com escribió: I have this simple/stupid tree module: https://github.com/abuchanan/bolts/blob/master/bolts/tree.py Thanks, I'll check it. -- https://mail.python.org/mailman/listinfo/python-list

Re: Tree library - multiple children

2013-12-13 Thread buchanae
I have this simple/stupid tree module: https://github.com/abuchanan/bolts/blob/master/bolts/tree.py On Thursday, December 12, 2013 10:14:34 AM UTC-8, Ricardo Aráoz wrote: > I need to use a tree structure. Is there a good and known library? > > Doesn't have to be binary tree, I need to have multi

Re: Tree library - multiple children

2013-12-12 Thread Ethan Furman
On 12/12/2013 02:01 PM, Ricardo Aráoz wrote: El 12/12/13 15:56, Terry Reedy escribió: On 12/12/2013 1:14 PM, Ricardo Aráoz wrote: I need to use a tree structure. Is there a good and known library? Search tools, both for the web and on pypi.python.org, are your friend. I thought it was obvio

Re: Tree library - multiple children

2013-12-12 Thread Ricardo Aráoz
El 12/12/13 18:01, Mark Lawrence escribió: On 12/12/2013 18:56, Terry Reedy wrote: On 12/12/2013 1:14 PM, Ricardo Aráoz wrote: I need to use a tree structure. Is there a good and known library? Search tools, both for the web and on pypi.python.org, are your friend. stackoverflow is another

Re: Tree library - multiple children

2013-12-12 Thread Ricardo Aráoz
El 12/12/13 15:56, Terry Reedy escribió: On 12/12/2013 1:14 PM, Ricardo Aráoz wrote: I need to use a tree structure. Is there a good and known library? Search tools, both for the web and on pypi.python.org, are your friend. I thought it was obvious that I've already looked around. I'm using

Re: Tree library - multiple children

2013-12-12 Thread Ricardo Aráoz
El 12/12/13 16:26, Neil Cerutti escribió: On 2013-12-12, Ricardo Aráoz wrote: I need to use a tree structure. Is there a good and known library? Doesn't have to be binary tree, I need to have multiple children per node. Have you tried nested lists? [[1, 2], [3, 4] Can represent root

Re: Tree library - multiple children

2013-12-12 Thread Michael Torrie
On 12/12/2013 11:14 AM, Ricardo Aráoz wrote: > I need to use a tree structure. Is there a good and known library? > Doesn't have to be binary tree, I need to have multiple children per node. There are lots of types of tree structures that may or may not be applicable to your problem. And it depen

Re: Tree library - multiple children

2013-12-12 Thread Mark Lawrence
On 12/12/2013 18:56, Terry Reedy wrote: On 12/12/2013 1:14 PM, Ricardo Aráoz wrote: I need to use a tree structure. Is there a good and known library? Search tools, both for the web and on pypi.python.org, are your friend. stackoverflow is another useful site to search and see also http://

Re: Tree library - multiple children

2013-12-12 Thread Joel Goldstick
On Thu, Dec 12, 2013 at 2:38 PM, MRAB wrote: > On 12/12/2013 19:30, Joel Goldstick wrote: > >> On Thu, Dec 12, 2013 at 2:26 PM, Neil Cerutti > > wrote: >> >> On 2013-12-12, Ricardo Aráoz > > wrote: >> > I need to use a tree structu

Re: Tree library - multiple children

2013-12-12 Thread MRAB
On 12/12/2013 19:30, Joel Goldstick wrote: On Thu, Dec 12, 2013 at 2:26 PM, Neil Cerutti mailto:ne...@norwich.edu>> wrote: On 2013-12-12, Ricardo Aráoz mailto:ricar...@gmail.com>> wrote: > I need to use a tree structure. Is there a good and known library? > Doesn't have to be binar

Re: Tree library - multiple children

2013-12-12 Thread Joel Goldstick
On Thu, Dec 12, 2013 at 2:26 PM, Neil Cerutti wrote: > On 2013-12-12, Ricardo Aráoz wrote: > > I need to use a tree structure. Is there a good and known library? > > Doesn't have to be binary tree, I need to have multiple children per > node. > > Have you tried nested lists? > > [[1, 2], [3, 4]

Re: Tree library - multiple children

2013-12-12 Thread Neil Cerutti
On 2013-12-12, Ricardo Aráoz wrote: > I need to use a tree structure. Is there a good and known library? > Doesn't have to be binary tree, I need to have multiple children per node. Have you tried nested lists? [[1, 2], [3, 4] Can represent root / \ 1-23-4 Python makes it ver

Re: Tree library - multiple children

2013-12-12 Thread Terry Reedy
On 12/12/2013 1:14 PM, Ricardo Aráoz wrote: I need to use a tree structure. Is there a good and known library? Search tools, both for the web and on pypi.python.org, are your friend. -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list

Tree library - multiple children

2013-12-12 Thread Ricardo Aráoz
I need to use a tree structure. Is there a good and known library? Doesn't have to be binary tree, I need to have multiple children per node. Thanks -- https://mail.python.org/mailman/listinfo/python-list