Import removing first module component

David C. Ullrich dullrich at sprynet.com
Wed Jun 4 23:48:31 CEST 2008


In article 
<75481b47-87ec-4a84-8063-7abbdb286d62 at u6g2000prc.googlegroups.com>,
 koblas <koblas at gmail.com> wrote:

> Have the following line:
>         import notewave.runner.LMTP
> 
> Yeilding the following error:
>         ImportError: No module named runner.LMTP
> 
> For the life of me I don't understand why the first component
> "notewave" is being stripped off, when the import is happening.

Does notewave contain a _module_ named runner.LMTP ?
Probably not, since the error message says there's no
such module.

> Thanks,

-- 
David C. Ullrich



More information about the Python-list mailing list