Brief introduction
The Python language is one of the few that can be called simple and powerful programming language. You will be pleasantly surprised to discover how simple the Python language is, focusing on how to solve the problem rather than the syntax and structure of the programming language.
The official description of Python is:
Python is a simple, powerful programming language that has high levels of high level data structures and is simple and efficient for object-oriented programming. Python's concise syntax and support for dynamic input, coupled with the nature of interpretive language, make it an ideal scripting language for many areas of the platform, especially for fast application development.
I'll discuss these features of Python in detail in the next section.
Comments
The creator of the Python language, Guido van Rossum, named the language according to the BBC's "Python Flying Circus", and he was not particularly fond of snakes clinging to their long bodies to grind animals for food.
The characteristics of Python
Simple
Python is a language that represents the idea of simplicity. Reading a good Python program feels like reading English, although the English language is very strict! The nature of this pseudocode for Python is one of its greatest advantages. It allows you to focus on solving problems rather than understanding the language itself.
Easy to learn
As you're about to see, Python is incredibly easy to get started with. As mentioned earlier, Python has a very simple syntax.
Free, open source
Python is one of the floss (free/open source) software. Simply put, you are free to publish the copy of the software, read its source code, make changes to it, and use part of it in the new free software. Floss is based on the concept of a community sharing knowledge. That's one of the reasons why Python is so good-it's created and constantly improved by a group of people who want to see a better python.
High-level language
When you write a program in Python, you don't have to consider the low-level details of how to manage the memory that your program uses.
Portability
Because of its open source nature, Python has been ported to many platforms (modified to enable it to work on different platforms). If you are careful to avoid using system-dependent features, all your Python programs can be run on any of the following platforms without modification.
These platforms include Linux, Windows, FreeBSD, Macintosh, Solaris, OS/2, Amiga, Aros, as/400, BeOS, os/390, z/OS, Palm OS, QNX, VMS, Psion, Acom RISC OS, VxWorks, PlayStation, Sharp Zaurus, Windows CE, and even pocketpc!
of explanatory
This point requires some explanation.
A program written in a compiled language such as C or C + + can be converted from a source file (that is, a C or C + + language) to a language used by your computer (binary code, that is, 0 and 1). This process is done through the compiler and different tags, options. When you run your program, the connection/reprint software copies your program from the hard disk into memory and runs.
Programs written in Python do not need to be compiled into binary code. You can run the program directly from the source code. Inside the computer, the Python interpreter converts the source code into an intermediate form called a bytecode, and then translates it into the machine language used by the computer and runs it. In fact, all this makes it easier to use Python because you no longer need to worry about how to compile the program, how to make sure the connection is reproduced in the correct library, and so on. Because you only need to copy your Python program to another computer, it works, which makes your Python program easier to migrate.