Python – Python - created in the 1990s by Guido van Rossum at the Centre for Mathematics and Computer Science in Amsterdam. It is a high level programming language with a wealth of standard libraries and versatile use. It is characterized by legibility and clarity of the source code as well as uniformity and speed of code creation. It can be used in any operating system and is ideal for typical applications in various calculations and data processing. It leaves the programmer a lot of freedom. Python is being developed as an Open Source project managed by the Python Software Foundation.
Jython (Java), IronPython (.NET), ActivePython, PyPy
On systems based on Linux, the Python interpreter is installed as standard. On Microsoft Windows systems, you must install the appropriate software.
Example of a command: C:\Python27\python.exe nazwa_pliku.py
Since indentations, which define program blocks, play an important role in code writing, it is convenient to use appropriate editors, e.g. IDE Geany or PyCharm. Both programs run on the Linux platform and Windows. Python compound instructions (blocks) must contain a header ending with a colon, and incoming instructions must contain a header ending with a colon in a block, instructions must be indented in relation to the header. Inclusions when creating source code in some editor can be created using tabs or spaces, but the number of tabs or spaces is insignificant and may be different in each block. It is important that in one block all instructions are equally nested, i.e. they have the same indentations. Otherwise, the interpreter will indicate an error.
There is no variable declaration in the Python language. The assignment instruction determines the type of the variable.
We assign values to variables using numbers, characters, mathematical or logical expressions.