This Python course will help the reader understand all the vital elements of the Python programming language. Anyone who wants to learn Python programming language without any prior experience in programming and anyone who wants to refresh their Python knowledge can read this article and get a grip on widely used Python concepts.
After reading this Python course, the reader will be able to write programs in Python, use any Python libraries and develop their own packages using Python.
The first step in learning any programming language is to setup the environment for writing programs. As we are going through a Python course, we will start with installing Python in three different OS platforms.
To check if python is already installed, follow the below mentioned steps.
After opening the cmd. you can check if python is already installed by using typing python into the cmd.
We can also check the version of Python installed by using commands as demonstrated below.
Now we will walk through on how to install Python in windows and links are provided for quick navigation when following the article. From the python for windows weblink, the stable version of Python can be downloaded with your choice between 64 bit or 32-bit Operating system versions.
Link for Python: https://www.python.org/downloads/windows/
As we can see, the latest release available for Python 3 is Python 3.10.0. Now click on the Latest Python 3 Release – Python 3.10.0 and it will navigate you to the downloaders page where if we scroll down to the bottom of the page, we will find a table as below.
Now click on the Windows Installer (32-bit) or Windows Installer (64-bit) according to your desire. A window will open asking you to select the path where you want to download your installer. After downloading the executable file, double click on the file to start the installation.
Python is an interpreted high-level dynamically typed object-oriented programming language.
Before delving into writing programs in python, its important to understand what the above terms mean.
A high-level language gives the programmer freedom to code programs which are independent of a particular type of device. They are called high level languages as they are closer to human languages. Python is high level because it is not a compiled language, Python requires another program to run the code unlike C which run directly on local processor.
Python is interpreted language as the Python program’s source code is converted into byte code that is then executed in the Python virtual machine unlike C or C++.
Python is dynamically typed language because the type of the variable is checked during run time. We will learn about data types in the following blogs.
Python is object-oriented language, because the Python developer can use classes and objects to write clean and reusable code.
We will be using Visual Studio Code for writing code in Python. Visual Studio Code abbreviated as VS code is an open-source code editor with many plugins and extensions. These plugins and extensions make writing code in VS code simpler and intuitive. Also, VS code is very light compared to other IDE. It also has various themes for making the development environment interesting for the developer.
Installing VS code in windows:
You may also like our JavaScript Course from Beginner to Advanced.
Author: Robert Whitney
JavaScript expert and instructor who coaches IT departments. His main goal is to up-level team productivity by teaching others how to effectively cooperate while coding.
Pinterest, which made its debut on the social media scene a decade ago, never gained…
Thinking carefully on a question of how to promote a startup will allow you to…
A podcast in marketing still seems to be a little underrated. But it changes. It…
Video marketing for small business is an excellent strategy of internet marketing. The art of…
Are you wondering how to promote a startup business? We present crowdfunding platforms and websites…
How to use social media to increase sales? Well, let's start like that. Over 2.3…