Hi,

I think I've broken my python installation (don't know how). All the
packages that are under 'lib' in python installation doesn't work the
way expected:

>>> import xml
>>> xml.dom
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'dom'

but, if I import * from xml, it starts to work again:

>>> from xml import *
>>> xml.dom
<module 'xml.dom' from 'C:\Python25\Lib\xml\dom\__init__.pyc'>


Does someone know why is this happening? (I can reinstall my python
2.5, but would like to know how the python lib got broken).

regards,
Bruno

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to