Bug ? xml.dom.minidom

A.A andtherewaswater at yahoo.com
Fri Feb 8 08:30:27 EST 2002


Hello,

In Python 2.2, when I try the following code either on the interpreter
or in a .py file,

----
from xml.dom.minidom import *
----

it returns an error saying xml has no attribute called dom.minidom.

However when you cd into the python 2.2 directory and try the code
again, it works !!!

$ cd /usr/lib/python2.2
$ python2
>>> from xml.dom.minidom import *
>>>

What is happening ???



More information about the Python-list mailing list