Pages

Monday, December 24, 2018

Introduction to Python Programming Language | Why we use it | It's good things | Comparison to other languages ||

What is Python?
Python is a popular programming language.Python is an interpreted, high-level, general-purpose programming language. It was created in 1991 by Guidov van Rossum.




It is used for : 

  • web development (sever-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 workflows.
  • Python can connect to database systems. It can also read and modify files.
  • Python can be used to handle big data and perform complex mathematics.
  • Python can be used for rapid prototyping pr for production-ready software development.
Why Python?
  • Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.).
  • Python has a simple syntax similar to the English language.
Good to Know:
  • The most recent major version of Python is Python 3. Which we shall be using in this tutorial. However, Python 2 although not begin updated with anything other then security updates is still quite popular.
  • 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:
  • Python was designed to for readability and had some similarities to the English language with influence from mathematics.
  • Python uses new lines to complete a command as opposed to other programming languages which often use semicolons or parentheses.
  • Python relies on indentation using white space to define scope such as the scope of loops. Functions and classes other programming languages often use curly-brackets for this purpose.