IDLE is the default editor for Python. However,despite python is installed by default in most Linux system,the user need to manually install this editor.

For Dedian/Ubuntu:

sudo apt-get install idle

For Fedora/Redhat:

yum install python-tools

python_editor