Question: Consider the following directory structure. A statement that imports the barn module directly using the 'from' technique of importing would be ___________. ASCIIArtTop-level package __init__.py
Consider the following directory structure. A statement that imports the barn module directly using the 'from' technique of importing would be ___________.
ASCIIArt\Top-level package
__init__.py
canvas.py
figures\Subpackage for figures art
__init__.py
man.py
cow.py
...
buildings\Subpackage for buildings art
__init__.py
barn.py
house.py
...
| a | from ASCIIArt.buildings import barn |
| b | from ASCIIArt import barn |
| c | from ASCII.buildings import barn |
| d | from ASCIIArt.buildings import * |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
