(yourenv)$ pip install pyarmor
(yourenv)$ pyarmor obfuscate sample.py
from pytransform import pyarmor_runtime
pyarmor_runtime()
__pyarmor__(__name__, __file__, b'\x06\x0f.........')
Note; The dist file store the same folder that you type the using python script.