circular import Module

ajikoe at gmail.com ajikoe at gmail.com
Wed Jun 8 04:11:50 EDT 2005


Hello,

I have two modules (file1.py and file2.py)
Is that ok in python (without any weird implication) if my module
import each other. I mean in module file1.py there exist command import
file2 and in module file2.py there exist command import file1?

This is not working in C#.

pujo




More information about the Python-list mailing list