<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 12, 2013 at 2:26 PM, Neil Cerutti <span dir="ltr"><<a href="mailto:neilc@norwich.edu" target="_blank">neilc@norwich.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">On 2013-12-12, Ricardo Aráoz <<a href="mailto:ricaraoz@gmail.com">ricaraoz@gmail.com</a>> wrote:<br>

> I need to use a tree structure. Is there a good and known library?<br>
> Doesn't have to be binary tree, I need to have multiple children per node.<br>
<br>
</div>Have you tried nested lists?<br>
<br>
[[1, 2], [3, 4]<br></blockquote><div><br></div><div>I think that was a type for this:<br></div><div><br>[[1, 2], [3, 4]]<br> 
<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Can represent<br>
<br>
     root<br>
     /  \<br>
  1-2    3-4<br>
<br>
Python makes it very easy to manipulate such a structure. It<br>
isn't clear that you need more than that yet.<br>
<span class=""><font color="#888888"><br>
--<br>
Neil Cerutti<br>
<br>
--<br>
<a href="https://mail.python.org/mailman/listinfo/python-list" target="_blank">https://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div>Joel Goldstick<br></div><a href="http://joelgoldstick.com" target="_blank">http://joelgoldstick.com</a><br></div>
</div></div>