In the context of web scripting, say I've a main fastcgi-enabled script that imports Module A (before the "while" loop). Module A in turn imports Module B and Module C.
Since Module A is loaded before the "while" loop in the main script, it's saved in memory. But what about Module B and Module C? Do these also become persistent as a result of loading Module A at the start of the script?
If not, is it a good practice to load them in the main script at the same time Module A is loaded i.e. before the "while" loop?
Looking forward to your replies and many thanks in anticipation.