from pkgutil import extend_path __path__ = extend_path(__path__, __name__). 这将向包的 __path__ 添加在包名后的 sys.path 上的所有目录子目录。
確定! 回上一頁