开发者社区 问答 正文

lxml模块中etree.Element对象的get(string)方法是什么?

lxml模块中etree.Element对象的get(string)方法是什么?

展开
收起
真的很搞笑 2021-12-03 21:53:05 355 分享 版权
1 条回答
写回答
取消 提交回答
  • get(string),返回属性值,

          root.get('intersting') 返回‘totally’

    2021-12-03 21:53:18
    赞同 展开评论