package import

Sean Allen sean at ardishealth.com
Wed Feb 6 16:53:41 EST 2008


Thanks. Found that 10 minutes after I sent.

On Feb 6, 2008, at 4:57 AM, Diez B. Roggisch wrote:

> Sean Allen wrote:
>
>> ok, what am i doing wrong?
>>
>> in current working directory i have:
>>
>> t.py
>> sub/t1.py
>>
>> t.py is:
>>
>> import sub.t1
>>
>> i get:
>>
>> ImportError: No module named sub.t1
>>
>> t.py is
>>
>> import sub
>>
>> i get:
>>
>> ImportError: No module named sub.t1
>>
>> --
>>
>> i am obviously missing something really basic here.
>> have tried on multiple machines, linux and mac os x.
>
> http://docs.python.org/tut/node8.html#SECTION008400000000000000000
>
> Diez
> -- 
> http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list