Decompile pyc - yvancouver/Workflow GitHub Wiki

From here

Use: cd Home/workspace/

git clone https://github.com/zrax/pycdc

cd pycdc/

make

./bin/pycdc ../amg/fingerprinting/testData/snpQCreader.pyc >../amg/fingerprinting/testData/recovery/snpQCreader.py

It did NOT work well so I used uncompyle like that:

cd ../../../uncompyle/

sudo python setup.py install

./scripts/uncompyler.py -h

./scripts/uncompyler.py ../amg/fingerprinting/testData/snpQCreader.pyc2

Other solutions would be,