Python is one of the most popular and loved programming language according to the stackoverflow 2020 suvrvey, If you want to learn python programming language and you don’t have any programming experience, you’re at the right place. In this tutorial series, I’ll teach you python from scratch.
Why Python ?
Python is one of the easiest programming language you will see on the planet. Its syntax is very clean and easy to understand. It enables us create web applications, Desktop applications, 2D Games, automate your daily tasks and much more. Many big companies like NASA, Google and Netfilx uses it!
How to install python?
Now after all the introduction and you have got some familiarity with python now let’s install python on our machine. I am going to walk you through with the installation on all the three major operating systems Windows, macOS and Linux Distributions.
To install python on Windows 10 you have to open https://www.python.org/downloads/windows/ and download the latest stable version of python. After the download is finished run the python installer and check the checkbox that says “Add python to the path” than click on next and it will be installed on your windows 10 machine.
If you’re on windows 7 do the same but just download the version which says “cannot be used on Windows XP or earlier”.
To install python on your mac machine move ahead to https://www.python.org/downloads/mac-osx and download intel installer if you’re using intel chip or universal2 installer if you’re using m1 chip. And then run that pkg file and drag python icon to Applications folder and python will be installed.
If you’re using any linux distro like me, than it’s quite simple to install on linux. You just have to fire up the terminal and install python3 from your package manager. Like If you are on a debian based system run # apt-get install python3 or on arch run # pacman -S python. Or if you’re using any other distro, you can figure out for your distribution.
Check whether Python is correctly installed or not.
Now after you installing python, you must check whether python is installed correctly or not. To check fire up a terminal or cmd in windows and run command python — version, or if you’re on mac or linux run python3 — version. If you don’t get any error or get output similar to this — Python 3.x.x, then voila it’s installed correctly on your system!
So that is it for today, in the next part we’re going to learn about print function and operators in python. Hope you learnt something new and had fun in knowing about python and programming.