1.

Which of these is false about a package?(a) A package can have subfolders and modules(b) Each import package need not introduce a namespace(c) import folder.subfolder.mod1 imports packages(d) from folder.subfolder.mod1 import objects imports packages

Answer» The correct option is (b) Each import package need not introduce a namespace

To explain: Packages provide a way of structuring Python namespace. Each import package introduces a namespace.


Discussion

No Comment Found