Import Error ('mutual inclusion of modules'?)

icoba at yahoo.com icoba at yahoo.com
Tue Aug 23 07:05:42 EDT 2005


Thanks,
I had not found anything about it. But I had not search correctly.
There is an entry in the FAQ about it:

http://www.python.org/doc/faq/programming.html#how-can-i-have-modules-that-mutually-import-each-other

I like the most the third way.
I have also tried to move the import to the __init__ methos in B.py and
it works.




More information about the Python-list mailing list