AttributeError: module object has no attribute

Nikhil mnikhil at
Tue May 20 19:30:09 CEST 2008

I have recently written a small module. When I import the module, I 
always get the error

only when I do

 >>> from import *

Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute '/xyz/py/file'

but when I do the below, I do not get any error.

 >> import

Any ideas on what could be wrong?

Thanks in advance.


More information about the Python-list mailing list