hai nikhil,
please check your __init__ file if you had any

cheers,
abhilash

On Tue, May 20, 2008 at 11:00 PM, Nikhil <[EMAIL PROTECTED]> wrote:

> I have recently written a small module. When I import the module, I always
> get the error
>
>
> only when I do
>
> >>> from local.my.module 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 local.my.module
> >>
> --
>
> Any ideas on what could be wrong?
>
>
> Thanks in advance.
>
> Nikhil
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to