将pyarmor混淆脚本打包为exe。

问题描述 投票:0回答:1

我想把一个pyarmor Obfuscated python文件变成exe.I tried with pyinstaller but doesn't worked. 谁有什么建议,如何继续?

python-3.x py2exe pyarmor
1个回答
0
投票

根据 pyarmor 的文档,混淆的过程和 pyinstaller 的作用,都是通过使用

cd directory_of_your_file

而不是使用

pyarmor pack myfile.py

12

这样做之后,它将在 "dist "文件夹下的 "your directory "中创建一个文件(exe文件)。

此外,你还可以从这里做一些类似下面的代码 岗位 来使用pyinstaller的选项。

pyarmor pack -e " --onedir --noconsole --icon icon.ico" myfile.py

我在找这个例子的时候无意中看到的。有谁知道在哪里可以找到关于如何使用pyarmor的pyinstaller附加选项的信息?

© www.soinside.com 2019 - 2024. All rights reserved.