可乐博客

python pyd uncompyle6

禁止生成pyc文件
import sys
sys.dont_write_bytecode = True


python 
pip3 install Cython
cythonize -i compute.py
编译的so文件可以直接引入

__init__.py

https://segmentfault.com/a/1190000021660914?utm_source=tag-newest
https://github.com/rocky/python-uncompyle6/

Pythonic随笔