2011-05-16 124 views
0

我剛剛開始使用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

回答

0

作爲mentionned here xml.sax不是IronPython的標準MSI的一部分

+0

好的,謝謝。我會看看從clr導入System.Xml。 – 2011-05-16 10:37:55