package 就是module所在的資料夾路徑。 main.py. import bar_module from my.pkg import foo_module print(bar_module.__name__) bar_module.bar() print( ...
確定! 回上一頁