Import Error ('mutual inclusion of modules'?)

Fredrik Lundh fredrik at pythonware.com
Tue Aug 23 06:33:54 EDT 2005


<icoba at yahoo.com> wrote:

>I have the following code:
>
> A.py
> ====
>
> from B import B

> B.py
> ====
>
> from A import R

> I think python does not support this kind of 'mutual inclusion'. Am I
> right? Thanks. Cesar.

this page

    http://effbot.org/zone/import-confusion.htm

might help you figure out what's going on here.

</F> 






More information about the Python-list mailing list