Re: Binary Trees in Python

2005-09-04 Thread Jorgen Grahn
On Sun, 21 Aug 2005 08:52:10 -0400, François Pinard [EMAIL PROTECTED] wrote: [Jorgen Grahn] Neither C++ nor Python has tree structures in their standard libraries. I assume that's because there is no single interface that is proven to suit everybody's needs. It is already easy writing tree

Re: Binary Trees in Python

2005-08-24 Thread Chris Smith
[diegueus9] == [diegueus9] Diego Andrés Sanabria diegueus9 writes: [diegueus9] Hello!!! I want know if python have binary trees and [diegueus9] more? The latest boost, 1.33, says it has a python wrapper for the boost graph library. Boost explicitely states that it's experimental

Re: Binary Trees in Python

2005-08-21 Thread Jorgen Grahn
On Sat, 20 Aug 2005 15:19:55 -0400, Roy Smith [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], [diegueus9] Diego Andrés Sanabria [EMAIL PROTECTED] wrote: Hello!!! I want know if python have binary trees and more? Python does not come with a tree data structure. The basic data

Re: Binary Trees in Python

2005-08-21 Thread François Pinard
[Jorgen Grahn] Neither C++ nor Python has tree structures in their standard libraries. I assume that's because there is no single interface that is proven to suit everybody's needs. It is already easy writing tree constants using recursive tuples or lists. To process simple trees in Python,

Re: Binary Trees in Python

2005-08-21 Thread Jeff Schwab
Jorgen Grahn wrote: On Sat, 20 Aug 2005 15:19:55 -0400, Roy Smith [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], [diegueus9] Diego Andrés Sanabria [EMAIL PROTECTED] wrote: Hello!!! I want know if python have binary trees and more? Python does not come with a tree data structure

Binary Trees in Python

2005-08-20 Thread [diegueus9] Diego Andrés Sanabria
Hello!!! I want know if python have binary trees and more? -- http://mail.python.org/mailman/listinfo/python-list

Re: Binary Trees in Python

2005-08-20 Thread Roy Smith
In article [EMAIL PROTECTED], [diegueus9] Diego Andrés Sanabria [EMAIL PROTECTED] wrote: Hello!!! I want know if python have binary trees and more? Python does not come with a tree data structure. The basic data structures in Python are lists, tuples, and dicts (hash tables). People who

Re: Binary Trees in Python

2005-08-20 Thread Ramza Brown
[diegueus9] Diego Andrés Sanabria wrote: Hello!!! I want know if python have binary trees and more? Yea, binary trees are more data structures as opposed to libraries: Here is one approach ( remove the 'java.lang' stuff) http://www.newspiritcompany.com/BinaryTreePyNew.html -- Ramza from

Re: Binary Trees in Python

2005-08-20 Thread Steve M
[diegueus9] Diego Andrés Sanabria [EMAIL PROTECTED] wrote: Hello!!! I want know if python have binary trees and more? You might be interested that ZODB comes with some B-tree implementations. They can be used alone or you can persist them in the ZODB quite easily. http://www.zope.org/Wikis