Pack a pyarmor obfuscated script to exe

a 夏天 提交于 2020-12-15 06:57:34

问题


I'm trying to turn a pyarmor Obfuscated python file in a exe. I tried with pyinstaller but doesn't worked. Anyone have any suggestions on how to proceed?


回答1:


According to pyarmor's documentary, the process of obfuscating and what pyinstaller does, are being done by using

cd directory_of_your_file

and than using

pyarmor pack myfile.py

from 1 or 2

After doing that it will create a file (exe file) in "your directory" under "dist" folder.

Additionally you can do something like code below from this post to use pyinstaller's options.

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

I saw this this example very accidentally, while I was looking for it. Does any one know where to find anything about how to use additional options of pyinstaller with pyarmor?



来源:https://stackoverflow.com/questions/58334936/pack-a-pyarmor-obfuscated-script-to-exe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!