1.安裝pippython
sudo apt-get install python-setuptools python-dev build-essential sudo easy_install pip
2.利用pip安裝uncompyleui
pip install uncompyle
3.uncompyle經常使用命令code
uncompyle6 --help //查看幫助 uncompyle6 servers.pyc > servers.py //將servers.pyc反編譯成py文件
4.若是符合pep8規範,反編譯效果很是好,可是以前代碼的註釋就沒了。server