IronPython导入模块

IronPython导入模块

问题描述:

我刚刚开始使用IronPython,并且对导入模块的位置感到困惑。IronPython导入模块

我想做一些XML解析,并试图导入xml.sax,但它说这些模块不存在。我的机器上安装了Python 2.4和2.6,它们都有xml.sax文件夹/模块?

我在这里做错了什么?

由于

+0

IronPython的包括许多标准库模块,包括Python化xml.etree.ElementTree - 比任何.NET选项友好。 – gimel 2011-05-16 11:10:59

作为mentionned here xml.sax不是IronPython的标准MSI的一部分

+0

好的,谢谢。我会看看从clr导入System.Xml。 – 2011-05-16 10:37:55