Posted in Open Source, PHP / Python

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.

Advertisements

Author:

Specialised in OpenERP/CRM Solutions, software development, Web development, E commerce solutions & other open source solutions.

2 thoughts on “How to convert *.pyc to *.py files ?

  1. Hi my friend! I wish to say that this article is amazing, nice written and
    come with almost all significant infos. I’d like to peer more posts like this .

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