Python 在导入import包的时候,有绝对导入和相对导入方式。 绝对导入:import p1.m1 或者from p1 import m1 等。 相对导入:from . import m1 或者.
確定! 回上一頁