pip install pyjm3
# test.py def say_hello(): print("hello world") # 加密源码(pyd或so文件生成在dist目录下) jmpy -i test.py
from dist.test import say_hello say_hello() # hello world