Ubuntu系统可以采用uncompyle2反编译,下载链接:https://github.com/wibiti/uncompyle2
terminal中使用命令
uncompyle2 crackme.pyc > crackme.py
推荐一个在线反编译网站:http://tool.lu/pyc/
windows也可以安装uncompyle2
只不过cmd命令要改为
python -u C:\python27\Scripts\uncompyle2 crackme.pyc > crackme.py