Download and Install Python 3 Latest Version
https://www.python.org/downloads/source/
You can do all the above steps in a single command
$ wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgzInstall Python 3.7.4 Latest Version on Linux
For installing Python successfully on Linux, Enter Following command to get the prerequisites and other source files
$ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-devNow we are all ready to unpack the file downloaded from the python official website’
Move to downloads directory using cd downloads in terminal
and then enter following commands
Bingo..!! The latest version of Python language is installed on your Linux system. You can confirm it using the below command.
python --versionHow to install Python on macOS / Mac OS X ?
Like Linux, macOS also comes with Python pre-installed on the system. It might be Python version 2 or some similar outdated version. To update to the latest version, we will use the Homebrew Package manager. It is one of the best and convenient methods to install Python on macOS.
To know more about Homebrew Package manager, visit here
Download and install Homebrew Package Manager
If you don’t have homebrew installed on your system, follow the steps below
Open the Terminal Application of macOS from Application -> Utilities. Bash terminal will open where you can enter commands
Enter following command in macOS terminal
Enter the system password if prompted. This will install the Homebrew package Manager on your OS.
After you see a message called “Installation Successful”. You are ready to install python version 3 on your macOS.
Install Python Latest Version on macOS / macOS X
To install python simple open Terminal app from Application -> Utilities
and enter following command
After command processing is complete, Python’s version 3 would be installed on your mac.
To verify the installation enter following commands in your Terminal app
pythonpip3
Bingo..!! Python is installed on your computer. You can explore more about python here
How to install Python on Android ?
Python can run on Android through various apps from play store library.
This tutorial will explain how to run python on Android using Pydroid 3 – IDE for Python 3 application.
Features :
Download Pydroid 3 – IDE for Python 3 app from Play store
Python is installed successfully. You can check more features of this app here
How to install Python on iOS (iPhone / iPad)?
On iOS platform, Python can be installed using various apps from app store. One of the most popular app is Pythonista. Pythonista is a complete development environment for writing Python™ scripts on your iPad or iPhone. Lots of examples are included — from games and animations to plotting, image manipulation, custom user interfaces, and automation scripts.
You can download and buy Pythonista app from here
Since most of the apps are paid on IOS and it doesn’t allow any interpreters officially. One can run Python from online IDEs and ide.geeksforgeeks.org.
Online Interpreters of Python
In this modern era of digital technologies, one can run Python directly from its browser without explicitly installing Python on OS.
Here is a list of famous IDEs for python.
For expensive computations for deep learning libraries like TensorFlow, following IDEs can be used
These interpreters can run Python codes easily except for complex Django codes or TensorFlow libraries. To run such advanced applications, you need to install Python explicitly.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.
-
-