pip install uncompyle
使用方法
我使用pip在mac os上安装好后的可执行文件名叫 uncompyle6
在.pyc文件所在的文件夹下面使用 shift + 鼠标右键 + 在此处打开 …
然后输入:
uncompyle6 –help 查看帮助
uncompyle6 test.pyc > test.py 将 test.pyc 反编译成 test.py 文件
uncompile -o . *.pyc 将当前文件夹中所有的 pyc 文件反编译成后缀名为 .pyc_dis 的源文件
https://blog.csdn.net/zhongbeida_xue/article/details/79082174