Which of the following isn’t true about main modules?
A. When a python file is directly executed, it is considered main module of a program
B. Main modules may import any number of modules
C. Special name given to main modules is: __main__
D. Other main modules can import main modules
Answer:D
Which of the following isn’t true about main modules?
A. When a python file is directly executed, it is considered main module of a program B. Main modules may import any number of modules C. Special name given to main modules is: __main__ D. Other main modules can import main modules
Explanation: Main modules are not meant to be imported into other modules.