Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我执行此命令时,您好使用 PyArmor:
pyarmor pack main.py
它将它打包到一个名为的文件夹dist中,其中包含我的 .exe 以及许多 Python 扩展文件。
dist
我了解 PyArmor 使用 PyInstaller 来打包其文件。PyInstaller 有一个名为--onefile.
--onefile
如何将我的混淆脚本打包到一个 .exe 文件中?
也许像... pyarmor pack --onefile main.py??
pyarmor pack --onefile main.py
pyarmor pack --clean -e "--onefile " main.py
不要忘记“-e”中的空格
应该做修复:)