這個哥們寫到不錯:https://blog.csdn.net/woshisangsang/article/details/73230433
我在使用PyInstaller時,調用第三方py文件,打包提升Miss module。在import時,把文件夾目錄全加入即可。
如:from a.b.c.method import start
a 文件夾和py入口在同一級別。
這個哥們寫到不錯:https://blog.csdn.net/woshisangsang/article/details/73230433
我在使用PyInstaller時,調用第三方py文件,打包提升Miss module。在import時,把文件夾目錄全加入即可。
如:from a.b.c.method import start
a 文件夾和py入口在同一級別。