用 Pyarmor 去处理一下
Pyarmor is a command line tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts. It protects Python scripts by the following ways....
----引自 Python.org
github 上搜一下,有例子,还有中文的说明的,参考一下 : ( dashingsoft/pyarmor)