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.

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s