Graphviz (http://www.graphviz.org/) is great for this sort of thing, but it's 
an external program.   There is a Python interface, pydot 
(http://dkbza.org/pydot.html)

Cheers

On Saturday 23 August 2008 15:34, Daniel Sarmiento wrote:
> Hi
>
> I am working on a red-black binary tree class. I would like to print
> it in a nice, graphical way. I have never done any GUI programming, or
> generated any graphics in python, before.
>
> What libraries would you use, what's the most straight forward way to
> achieve what I want?
>
> Thank you.
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to