With regards to the directory structure below, select the proper forms of the directives in order to import module_c. (Choose two.)
With regards to the directory structure below, select the proper forms of the directives in order to import module_c. (Choose two.)
The correct forms of the directives to import module_c file considering the directory structure are: 'from pypack.upper.lower import module_c' and 'import pypack.upper.lower.module_c'. These correctly reference the full path of the module. The other options are incorrect because they either omit necessary parts of the path or do not start from the root package.
A and B are correct. from pypack.upper.lower import module_c import import pypack.upper.lower.module_c C is missing "lower" between "upper" and "module_c" D is missing "pypack" as the parent of "upper"
is correct
A and B