Home

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

previous
next

Re: can Python be useful as functional?
Re: Free C++compilers for a classroom
Re: Problems with threading in embedded Python
Re: Modul (%) in python not like in C?
Re: malloc problem in C++
Fundacja Iskierka
Fundacja Hobbit
Fundacja Sloneczko
Krwinka
Pajacyk