On Sun, Aug 24, 2008 at 5:54 AM, Patrick Maupin [EMAIL PROTECTED] wrote:
On Aug 23, 7:27 pm, Mohamed Yousef [EMAIL PROTECTED] wrote:
The problem I'm asking about is how can imported modules be aware of
other imported modules so they don't have to re-import them (avoiding
importing problems
Le Sunday 24 August 2008 12:11:03 Mohamed Yousef, vous avez écrit :
On Sun, Aug 24, 2008 at 5:54 AM, Patrick Maupin [EMAIL PROTECTED] wrote:
On Aug 23, 7:27 pm, Mohamed Yousef [EMAIL PROTECTED] wrote:
The problem I'm asking about is how can imported modules be aware of
other imported
Hello ,
The problem I'm asking about is how can imported modules be aware of
other imported modules so they don't have to re-import them (avoiding
importing problems and Consicing code and imports )
Take Example :-
in A.py :-
import B
print dir() # no problems we can see B which contain re
On Aug 23, 7:27 pm, Mohamed Yousef [EMAIL PROTECTED] wrote:
The problem I'm asking about is how can imported modules be aware of
other imported modules so they don't have to re-import them (avoiding
importing problems and Consicing code and imports )
You could import sys and look at
Mohamed Yousef wrote:
Hello ,
The problem I'm asking about is how can imported modules be aware of
other imported modules so they don't have to re-import them
If you want to use module A in both B and C, B and C should both import
A. No problem.
(avoiding importing problems and