python obfuscate code example
Example 1: python how to obfuscate code
pip install pyarmor
pyarmor obfuscate --recursive myscript.py
Example 2: python obfuscator
# 1- python -OO -m py_compile <your program.py>
# 2- pip install python-obfuscator
# 3- eval
import base64
myscript = """IyBUaGlzIGlzIGEgc2FtcGxlIFB5d
GhvbiBzY3JpcHQKcHJpbnQgIkhlbG
xvIiwKcHJpbnQgIldvcmxkISIK"""
eval(compile(base64.b64decode(myscript),'<string>','exec'))