Which of the following is false about “from-import” form of import?
A. The syntax is: from modulename import identifier
B. This form of import prevents name clash
C. The namespace of imported module becomes part of importing module
D. The identifiers in module are accessed directly as: identifier
Answer:B
Which of the following is false about “from-import” form of import?
A. The syntax is: from modulename import identifier B. This form of import prevents name clash C. The namespace of imported module becomes part of importing module D. The identifiers in module are accessed directly as: identifier
Explanation: In the “from-import” form of import, there may be name clashes because names of the imported identifiers aren’t specified along with the module name.