摘要: python xml_str转json 使用第三方模块xmltodict pip3 install xmltodict 使用: import xmltodict def xmlToJson(xml_str): '''传入xml字符串,返回字典''' dic = xmltodict.parse(xml 阅读全文
posted @ 2021-11-16 18:02 longfei2021 阅读(118) 评论(0) 推荐(0) 编辑
摘要: Ncclient简介 Ncclient是一个开源的Python模块,用来在NETCONF客户端开发各种和NETCONF相关的网络运维脚本和应用程序。截止2020年10月最新的版本为0.6.9,对系统环境有如下要求: Python 2.7 或 Python 3.4+setuptools 0.6+Par 阅读全文
posted @ 2021-11-16 17:58 longfei2021 阅读(2654) 评论(0) 推荐(0) 编辑