soln for circular imports problem?

Tom nospam at nospam.com
Wed Sep 20 03:00:27 CEST 2000


Is there a solution to the problem of circular imports?

Usually I can get around it by moving one of the imports closer to where it
is needed (usually this means moving it into a method), but this doesn't
seem like a good solution, nor is it always possible.

I've searched everywhere - I find mention of the problem, but no definitive
solution.

Thanks,

Tom.




More information about the Python-list mailing list