在学习xml的时候在运行下面程序时候出现了错误,很是烦恼,翻遍了许多博客都没有找到方法,终于在一个不起眼的地方找到了解决方法,很高兴记录下来 运行的程序如下: import xml.etree.ElementTree as ET tree = ET.parse("xml_test") root = tree.getroot() print(root.tag) 出现的错误如下: import xml.etree.ElementTree as ET ModuleNotFoundError:
建立一个WCF服务. using ClassLibrary; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; using System.Xml; namespace AreaService