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

Reply via email to