Exam PCAP-31-03 All QuestionsBrowse all questions from this exam
Question 42

With regards to the directory structure below, select the proper forms of the directives in order to import module_b. (Choose two.)

    Correct Answer: B, C

    To import module_b from the specified directory structure, two possible correct forms are: 'import pypack.upper.module_b' and 'from pypack.upper import module_b'. The first form imports the module_b by specifying the full path, and the second form imports the module_b from the upper directory within the pypack package.

Discussion
DKAT2023Options: BC

B and C are corrects