Wednesday, 7 August 2019

What is Python3


What is Python 3 | Python 3 Introduction


Python3 introduction




Python is the programming language , named after famous BBC comedy show namely Monty Python’s Flying Circus. It is developed by Guido Van Rossum in Feb 1991.

It is an easy-to-learn and powerful object-oriented programming language. It is a very high-level programming language as many other languages like  C, C++, Java etc.

Features of Python :


1.Easy to use  and Expressive Language:
  
Python is compact and very easy to use object-oriented programming language with a very simple syntax rules.It is very high-level language and programmer friendly language.

For example :

In C++                                                                                                        In python
We write to swap two values :                                                                    we write to swap two values
int a=2,b=3,temp;                                                                                         a,b=2,3
temp=a;                                                                                                        a,b=b,a
a=b;
b=temp;


Now you decide which one is compact and easier to understand?

2.Interpreted Language:

Python is an interpreted language.It is  not a compiled language.This means that the python installation interprets and executes the code line by line at a time .It makes python an easy-to-debug language and thus suitable for beginners to advanced users.


3.Platform Independent:

Python can run equally well on variety of platforms-Windows,Linux,Unix etc..It makes python platform independent and portable language.


4.Free  and Open Source

Python language is freely available without any cost. You can easily get full version of python from www.python.org website. Its source code is also available.Do you know,you can modify,improve an open-source software.

5.Variety of Applications

Python language is being used in many applications 
  • Scripting
  • Rapid Prototyping
  • GUI Programs
  • Game Development
  • Database Applications
  • System Administration
  • Web Applications



Drawbacks of python


1. Not the Fastest Language

Python is an interpreted language. It is not a fully compiled one.It is first semi-compiled into an internal byte-code,which is then exerted by a python interpreter.Fully compiled languages are faster than their interpreted counterparts.So,here python is little weaker though it offers faster development times but execution-times are not that fast compared to some compiled languages.

2. Lesser Libraries than C,Java,Perl

Python offers library support for almost all computing programs,but its library is still not competent with languages like C,Java,Perl as they have larger collections available.Sometimes in some cases,these languages offer better and multiple solutions than python.

3. Not Strong on Type-binding

Python interpreter is not very strong on catching “Type-mismatch” issues.
For example : if you declare a variable as integer but later store a string value in it.Python will not complain or pin-point it.

4. Not Easily Convertible

It can not be converted into other language easily due to its lack of syntax.

No comments:

Post a Comment

Recent Post

Python Project | Banking System | Project on Banking System using python

  PYTHON PROJECT Banking System import csv import pandas as pd import matplotlib.pyplot as plt import sys import datetime found=False def ne...