要通过 Python 脚本来访问 ArangoDB,我们需要先安装 pyArango 库 $ pip install pyArango 下面写了一个简单的 Python 脚本,其中包含了一些常用的操作, from pyArango.connection import * # 创建连接 conn = Connection(arangoURL='http://106.54.228.237:8529', ('collection count after delete: %s' % collection.count()) # 删除集合 collection.delete() 参考文档 https://pyarango.readthedocs.io