How to change default #Python version in #Ubuntu ?


This blog has been transferred to our new blog site:

http://acespritechblog.wordpress.com/2012/10/26/how-to-change-default-python-version-in-ubuntu/

Advertisements

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.