How to install IDLE (python 2.7 editor) on Ubuntu system. Add IDLE Open With shortcut.

1. Install IDLE $ sudo apt-get install idle 2. Set IDLE option $ sudo gedit /usr/share/applications/idle.desktop Before After : Add %F after Exec=/usr/bin/idle 3. Add Open With shortcut for IDLE Right click on .py file -> Open With -> Other Applications... -> View All Application -> Select IDLE -> Click 'Select' button 4. Check 'Open With'