How are you guys, I hope you are well, in my blog I am talking about networking-related things. But I thought now was the right time to talk about Python Programming Language. You can see why. Ok now without further ado let's get down to business.
Let's first see why we should learn python.
This computer language called python has been one of the most widely used computer languages for many years. Therefore, many computer companies are used to using python. Also, the time to write a program in python is very less. For that reason, many software companies use python to get work done quickly. For example, python is used for cloud services.
So, who is this python blog for? That's a good question if you ask me.
Python is a good programming language for someone who wants to learn to program. Also, if you know to program but don't know much about python, this will be a valuable blog for you.
Introduction to Programming
First, let's talk about the basics of the program. Because before starting anything, you need to know its basic principles. I think programming is a way of thinking. Being able to think about things means that we can program. The reason I say that is that about 80% of the program is thought to be the remaining 20% that we have to code. If you thought until now that the program is difficult, you are wrong. With all this interest and dedication, let's increase our knowledge through this blog.
If you ask me what programming is, my answer is the method of providing some input, processing it, and getting the output.
Why do we use programming languages?
The main reason for this problem is that the computer is made up of electronic devices. For this reason, we think that a computer shows data as On or Off. Or as 1 or 0 (Binary). So, since this computer is made of electronic devices, we have to use binary codes to give every instruction given to a computer. But it is complicated to give instructions to the computer using Binary Codes in that way. If you look at the image below, you should understand it very well.
There are several of these computer languages. Among them are languages that are easy for computers to understand and languages that are easy for humans to understand but difficult for computers to understand. Among these computer languages, the languages that can be understood very quickly by the computer are called low-level languages.
For example
👉Assembly
👉C
And that is the computer languages that are difficult for computers to understand even though people can understand them very simply. We call those languages High-Level Languages.
For example
👉JAVA
👉C++
👉Python
"Among these, we are talking about the Python Programming Language"
These high-level languages cannot be easily understood by the computer, so we have to translate the language in a way that the computer can understand. So the Language Translator is taking over that duty. There are mainly three language translators.
1. Assembler
2. Interpreter
3. Compiler
Assembly
Each personal computer has a microprocessor that manages the computer's arithmetical, logical, and control activities.(ALU)
Each family of processors has its own set of instructions for handling various operations such as getting input from the keyboard, displaying information on the screen, and performing various other jobs. This set of instructions is called 'machine language instructions.
A processor understands only machine language instructions, which are strings of 1's and 0's. However, machine language is too obscure and complex for use in software development. So, the low-level assembly language is designed for a specific family of processors that represents various instructions in symbolic code and a more understandable form.
Each family of processors has its own set of instructions for handling various operations such as getting input from the keyboard, displaying information on the screen, and performing various other jobs. This set of instructions is called 'machine language instructions.
A processor understands only machine language instructions, which are strings of 1's and 0's. However, machine language is too obscure and complex for use in software development. So, the low-level assembly language is designed for a specific family of processors that represents various instructions in symbolic code and a more understandable form.
Interpreter
An interpreter is a program that directly executes instructions in a high-level language, without converting them into machine code. In programming, we can execute a program in two ways. Firstly, through compilation and secondly, through an interpreter. The common way is to use a compiler.
Compiler
Compiled languages are converted directly into machine code that the processor can execute. As a result, they tend to be faster and more efficient to execute than interpreted languages. They also give the developer more control over hardware aspects, like memory management and CPU usage.
Now we talked about computer language translators. Especially since we are talking about the Python Language here, the Python Language is an Interpreter Language.
Well then, we have talked a lot about the Python Language on this blog page. In the next blog page, we will talk about how to make the setup for our Python code.
Advantages Of Python
- It's Simple
- It's Free
- It's Easy to Use
- It's Highly Compatible
- It is Object-Oriented
- It's Easy to Learn
★★★★★★★★★★★★★★★★★★★★★★★★★
Good Luck
#Rumesh_Dushmantha_Thilakarathna #Network_Engineer #CISCO #CCNA #CCNP
0 Comments