First of all check if python is already installed in your PC with the command
python -V
You may also use the following command to check for the updated version of python .
python3 -V
If python is not there it will say "command not found".
To install python, type
sudo apt-get install python3.6
With the above command you will get with latest version installed on your pc. To check the version and installation of python , type
python3 --version
Now check for IDLE in your system. Type
idle3.6
If IDLE is not available, it will say "command not found". To install the required package, type
sudo apt-get install idle-python3.6
With the above command you will get latest version of IDLE in your system.
Now to check and open the installed python editor (IDLE), type the following command
idle-python3.6
You will get python editor open in front of you as shown below:
Thats all. Enjoy Python :)
python -V
You may also use the following command to check for the updated version of python .
python3 -V
If python is not there it will say "command not found".
To install python, type
sudo apt-get install python3.6
With the above command you will get with latest version installed on your pc. To check the version and installation of python , type
python3 --version
Now check for IDLE in your system. Type
idle3.6
If IDLE is not available, it will say "command not found". To install the required package, type
sudo apt-get install idle-python3.6
With the above command you will get latest version of IDLE in your system.
Now to check and open the installed python editor (IDLE), type the following command
idle-python3.6
You will get python editor open in front of you as shown below:
Thats all. Enjoy Python :)
No comments:
Post a Comment