Pre-Requisites
Installation
Windows
- Go to Python’s official page, python.org and go for the download page for Windows .
- Go for the Latest Python release - Python 3.x.y page and download the Windows x86-64 executable installer for 64 bit/32 bit as per system requirements.
- Run the installer to install python.
You want to be sure to check the box that says Add Python 3.x to PATH as shown to ensure that the interpreter will be placed in your execution path.
Linux
Use the following commands to install python
sudo apt-get update
sudo apt-get install python3.7
macOS
We can install python using the following commands
brew install python3
Python online interpreters
Pip Installation
Linux
Update the package list
sudo apt update
Install pip using the following command
sudo apt install python3-pip
Windows
Download get-pip.py
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Then run the following
python get-pip.py
Jupyter Notebooks
The Jupyter Notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text.
Follow this to install Jupyter Notebook in your system.
Session Notes :
You can access notes of this session from here .
References
Check out this repo for a detailed tutorial.
Python 3 Documentation
Python Tutorial by Hackerrank