首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 访问XML文件使用Python对象符号

访问XML文件使用Python对象符号

资 源 简 介

Abstract This Python module allows you to read an XML file and expose its attributes and elements using object notation. It is an XML node wrapper that allows access to children and attributes using a pythonic syntax. Each attribute and each child element is an object atribute (self.childTag). They can also be accessed using self[childKey], where childKey can be the child position (integer) or its tag (string). Example For example, suppose you have the following XML file (sample.xml): this is item a this is item b 1 2 Hello World

文 件 列 表

XMLElementTest.py
sample.xml
XMLElement.py

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP