How to convert *.pyc to *.py files ?


Before few weeks I required to convert *.pyc to *.py files for one of my python project so thought to share with others.

Here is the steps to follow:

– Download plugin from below link,
https://github.com/wibiti/uncompyle2/downloads
– extract the ZIP file.
– Goto command prompt,

$ sudo python setup.py install
$ uncompyle2 -h (will give you help to process further)

I want add here is, its working on for python 2.7 only.

Leave a comment