python中的树库 [英] Tree libraries in python

查看:33
本文介绍了python中的树库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有用于数据树的 Python 库?

Are there any python libraries for data trees?

我的意思是作为通用数据结构的树,而不仅仅是 xml 树.(就像在这个问题中一样,但在 python 中.)

I mean a tree as a general data structure, not just an xml tree. (Like in this question, but in python.)

推荐答案

pypi,Python 包索引,建议 tinytreetreedict, caxes, pyavla>...这些只是过滤掉许多意外点击后的前几个(指向特定的树,如 XML 树、AST 树等;-).如果您明确您想对树做什么,建议一个特定的包可能会更容易.

pypi, the Python Package Index, suggests tinytree, treedict, caxes, pyavl... these are just the top few after filtering away the many accidental hits (which point to specific tree such as XML ones, AST ones, etc, etc;-). If you clarify what you want to do with your trees it may be easier to suggest a specific package.

这篇关于python中的树库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆