[英]Library to 'draw' binary trees in Python and Ruby
I'm trying to draw some binary trees in Python and Ruby and I was wondering if I can do it (in Python) with Tkinter
or SymPy
. 我试图在Python和Ruby中绘制一些二进制树,我想知道我是否可以使用
Tkinter
或SymPy
来完成它(在Python中)。 In Ruby I have absolutely no idea on how to do it. 在Ruby中,我完全不知道如何做到这一点。
What I'm trying to do is to show it in a window or save it to a file, any of those would work. 我要做的是在窗口中显示它或将其保存到文件中,其中任何一个都可以。
I can't find anything related and any help would be appreciated. 我找不到任何相关的内容,我们将不胜感激。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.