install idle on linux code example
Example: install idle3 in linux
$ sudo apt install idle [On Debian/Ubuntu for Python2]
$ sudo apt-get install idle3 [On Debian/Ubuntu for Python3]
$ sudo yum install python3-tools [On CentOS/RHEL and Fedora]