问题
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