How to Install Python on Windows, Linux of Mac easily | Python Installation & Setup Guide

  So in this python certification series we will understand how to install Python on your machine. I will also teach you to set up your Jupiter notebook environment for performing demos and hands on in our course. 

How to Install Python on Windows, Linux of Mac easily | Python Installation & Setup Guide

    The very first thing that would be doing is installing python on our system. So I already installed python in my system. For those of you who don't have it you can download it and get it installed from its official website. www.python.org/ download So let me just show you how easy is it to install Python on your system. Let me open my default browser. And I ll write here www.Python.org/download So as you can see here we have a download option of download Python three point seven dot 1. If you want a different version for Windows, Linux or Mac you can just click with these links. Example if I have Windows user and  I want a different version of it then let's see. I click the link. And you can download different versions of python from here.

    The first two options I have got up here is latest Python 3 release Python three point seven dot one and latest Python 2 release Python two point seven dot one five. Now these are the two popular vision of Python. Now which version should you download. Well I have installed Python 3 in my machine. In the past there was a bit of debate in the coding community about which python version was best one to learn. Python 2 or Python 3specifically python 2.7 or Python 3.5 or 3.7 alright? Let me just tell you. python 2 has been most popular version fora decade and a half. And is still in demand at certain companies. however more companies are moving from Python 2 to Python 3. For example in 2017 Instagram migrated the majority of the Python code base from Python two point seven. 

    To Python three. As it each new version of Python. It is getting a faster than time and on the other hand nobody is currently working on to make Python 2.7 work faster. Also the community support for Python 3 is more better. So for someone who wants to learn Python programming for a beginner I'd suggest that you should avoid spending time on a version that is becoming obsolete. well let's download python three for Windows. So let's directly jump up to our first window and click on Download Python 3.7.1 So yeah it 's downloaded Just click over the .ext file and follow the installation step and it will get installed Click on the install now version. Select the drive where you want to install it and click on the next and it will be installed on your machine. So let's click on the install now option. yes and the setup will install python on my system. Well if you are starting python you will find that you will have various options where you can write all your codes and get it executed. 

    By default. We use the python CLI. You can use any text editor like notepad or notepad plus plus. Or you can even use any python IDE like Anaconda which has jupiter notebook and spider pre installed in it. Python is majorly based on indentation. So these IDEs will help you a lot way coding and debugging your program. So by then my set up was successful. Let's close it. For this tutorial I'll be using Jupiter notebook which is a web based application that will allow me to write my Python codes on it. It's ready to use and gives me Interactive Data Science environment. If you are installing jupiter notebook and python. I would strongly recommend you to use the anaconda distribution which already includes the Python, The Jupiter note book and other commonly used packages for starting with Python. So for downloading it let's visit the website www.anaconda.com/ download Let's open our default browser. Triple. W dot. Anaconda. Dot. Com. Slash. Downloads. So as you can see we have a download option up here. Just click over it an installation will stop. 

    Open the downloaded file and follow the series of steps. And install Anaconda on your machine. So for me I have already installed anaconda in my system. So let me just go over there and open it. Anaconda. Navigator. This might take some time to start. So that is how the anaconda navigator looks like after the installation. From here I'll select my Jupiter notebook and hit the launch button. My Jupiter notebook will open in my default browser. So here's my Jupiter notebook. It opened on the local host with port number 8889 So this how the Jupiter notebook will look like. So from here. i ll go onto the new Select Python 3 from the notebook. And this will redirect you to the Python notebook page where you can write all the different sorts of Python codes on it. Ranging from a beginner level to advance done. Now that we have setup our environment for coding. 

    Let me just give you a glimpse of how easy is Python. You want to perform addition It's as simple as one plus two equals three. That's it all you need to do is one plus two and hit enter. You'll get the output. So this was all for this session. And in our next session we will be learning about latest Python variables and tokens. Thank you.

Post a Comment

0 Comments