The two most robust and proper forms for importing module_b from a script located outside the pypack directory are the absolute imports that start from the top-level package name.
Therefore, the correct choices are:
B. import pypack.upper.module_b
C. from pypack.upper import module_b
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Abbribas
1 month, 2 weeks agoDave304409
1 year agoDKAT2023
1 year, 1 month ago