What is Python?
Python is a popular programming language. It was created in 1991 by “Guido van Rossum“.
It is used for:
- web development (server-side),
- software development,
- mathematics purpose,
- system scripting.
What can Python do?
- Can be used alongside software to create workflows.
- Can be used on a server to create web applications.
- can connect to database systems. It can also read and modify files.
- Can be used to handle big data and perform complex mathematics.
- Can be used for rapid prototyping, or for production-ready software development.
- it works on different platforms (Windows, Mac, Linux, etc).
- Has a simple syntax similar to the English language.
- Has syntax that allows developers to write programs with fewer lines than some other programming languages.
- Runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick.
- Can be treated in a procedural way, an object-orientated way or a functional way.
Good to know
- The most recent major version of Python is Python 3, which we shall be using in this tutorial.
- In this tutorial Python will be written in a text editor. It is possible to write Python in an Integrated Development Environment, such as Thonny, Pycharm, Netbeans or Eclipse which are particularly useful when managing larger collections of Python files.
Python Syntax compared to other programming languages
- Designed to for readability, and has some similarities to the English language with influence from mathematics.
- Uses new lines to complete a command, as opposed to other programming languages which often use semicolons or parentheses.
- Relies on indentation, using whitespace, to define scope; such as the scope of loops, functions and classes. Other programming languages often use curly-brackets for this purpose.
- Beginners who wants to learn Python