What is Python?

Python is a popular programming language.  Python is a widely-used, interpreted, object-oriented, and high-level programming language with dynamic semantics, used for general-purpose programming. It was created by Guido van Rossum, and first released on February 20, 1991.

Python\’s simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse.

Applications and Uses of Python

  • Data visualisation
  • Programming applications
  • Web development
  • AI and machine learning
  • Data analytics
  • Game development
  • Language development

Why learns Python language?

  • Python has syntax that allows developers to write programs with fewer lines than some other programming languages.
  • easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance.
  • Python supports modules and packages, which encourages program modularity and code reuse.
  • Python has a simple syntax similar to the English language.
  • Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).
  • Python has a library to cater to your every need.
  • Python comes with numerous testing frameworks.
  • Python is excellent for Enterprise Application Integration (EAI)
  • Python is great for scripting

How does python work?

  • We wright instruction in English based python language
  • Python is interpreted language, so there is no need to compile them
  • Python program run directly through a source code
  • The source code in converted into an intermediate bytecode and then into the negative language of the computer by the python interpreter.
  • The code is executed and output is presented.

 

How to Install Python?

Some of PCs Python is already installed. To check whether python is installed or not in your PCs run following command “cmd”, then use below code to check python version

C:\\Users\\Administrator—>python –version

If Python not installed on your computer, then you can download it for free from the following website: https://www.python.org/

Python is an interpreted programming language, this means that as a developer you write Python (.py) files in a text editor and then put those files into the python interpreter to be executed.

The way to run a python file is like this on the command line:

C:\\Users\\Administrator—>python helloworld.py