On Mon, Jul 21, 2008 at 3:46 AM, Oleg Oltar <[EMAIL PROTECTED]> wrote:

> If I am adding, __init__.py it still doesn't import anything.
> Do I have add the import (from sampletest import EmailWithoutA) in my init
> file?
>
>

I didn't notice this before, but I don't think python does tilde expansion
in sys.path. Try using an absolute path, for example:

sys.path.insert(0, "~/folder")

to

sys.path.insert(0, "/home/user/folder')
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to