LINUX
Python comes along with Ubuntu and most of the Linux environments.
In Ubuntu, to run Python, just type python in terminal
For knowing the current version of python type
python --version
Python 3 will be also there in the Ubuntu. For the Python 3 installed in your Ubuntu type
python3 --version
to change your Python to Python3x, type
alias python=python3
Now type
python --version
To start Python console, just type
python
This will give you a window like the following, where you can enter Python commands
My PC:~/Desktop$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> x=4
>>> x
4
>>>
To install and use IDLE in Linux, on terminal, type
sudo apt-get install idle
idle