Linux is the operating system designed for programming, so Python is already installed on most Linux computers.
Linux writers and maintainers expect you to be able to create your own program with the least amount of time and effort. Therefore, you will install Python with just a few simple steps.
Check out the version of Python
Open a terminal window by running the Terminal application on your system (on Ubuntu, you can press CTR-ALT-T).
To check the installed version of Python, enter
python3 . Once Python has been installed, the version of Python will be displayed and the translator will start with the
The result specifies that the default Python version installed on the computer is 3.6.9. When you see this message, press CTR-D or type
exit() to exit the Python interpreter.
If your Python version is less than 3.7. You should install the latest version as instructed below.
deadsnakes to set up the version of Python easily.
Then proceed to install Python, and set Python 3.8 as the default version
$ sudo add-apt-repository ppa: deadsnakes / ppa
$ sudo apt-get update
$ sudo apt install python3.8
$ sudo update-alternatives –install / usr / bin / python python /usr/bin/python3.8 1
Check your version of Python with the command
Hello Python interpreter! To the screen by entering the following command:
print("Hello Python interpreter!")
Install Sublime Text
Open Ubuntu Software, enter
sublime text and then select sublime text to download
So you have installed Python for MacOS and IDE support for Python is Sublime Text 3.
If you have problems installing, please comment below, I will support you as soon as possible!
Thank you for your interest in this article.
PYTHON CRASH COURSE – A Hands On Project Based Introduction To Programming (Eric Matthes).