ElementTree. indent (tree, space=" ", level=0)¶. 添加空格到子树来实现树的缩进效果。 这可以被用来生成美化打印的XML 输出。 tree 可以为Element ...
確定! 回上一頁