Python Introduction


What is Python?

Python is a popular programming language. Produced by Guido van Rossum, and released in 1991.

It is used for:

  • web development (server-side)
  • software development
  • mathematics
  • system scripting
What can Python Do?
  • Python can be used on a server to create web applications.
  • Python can be used alongside software to create workflow.
  • Python can connect to data systems. It can also read and convert files.
  • Python can be used to manage big data and perform complex calculations.
  • Python can be used for fast prototyping, or software development ready for production.
Why Python?
  • Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.).
  • Python has a simple syntax similar to the English language.
  • Python has a syntax that allows developers to write programs with fewer lines than other programming languages.
  • Python works in the translator system, which means that the code can be generated as soon as it is written. This means that prototyping can be very fast.
  • Python can be treated in a systematic way, an object-oriented method or in a functional way.
Good to know
  • The latest major version of Python is Python 3, which we will be using in this tutorial. However, Python 2, while not being updated with anything other than security updates, is still very popular.
  • In this tutorial Python will be written in text editor. You may have written Python in Integrated Development Area, such as Thonny, Pycharm, Netbeans or Eclipse which are especially useful when managing large Python file collections.
Python Syntax compared to other programming languages
  • Python is designed to be readable, and has some similarities to the English language which has its mathematical implications.
  • Python uses new lines to complete a command, unlike other programming languages ​​that often use semicolons or brackets.
  • Python depends on the input, using the white space, to define the width; such as the breadth of loops, activities and classes. Some programming languages ​​often use curly-brackets for this purpose.

Example
print("Hello, World!")