import error between 2 modules
Fredrik Lundh
fredrik at pythonware.com
Wed Aug 27 13:23:58 EDT 2008
jimgardener wrote:
> is this kind of mutual import not allowed in python?
it is, but you need to understand how things work before you can use it
without getting yourself into trouble. this page might help:
http://effbot.org/zone/import-confusion.htm
see the "Circular Import" section for a discussion of what's going on
here, and "Which Way Should I Use" for some guidelines (pay special
attention to the last item in that list ;-)
</F>
More information about the Python-list
mailing list