Tuesday 23 July 2019

Python Introduction ,Features,Version and History

Python Introduction
Python is an Object Oriented programming approach to develop applications.
Python supports multiple programming patterns, including object-oriented, imperative, and functional or procedural programming styles.
Python is easy to learn yet powerful and versatile scripting language, which makes it attractive for Application Development.
Python's syntax and dynamic typing with its interpreted nature make it an ideal language for scripting and rapid application development.
We don't need to use data types to declare variable because it is dynamically typed so we can write x=20 to assign an integer value in an integer variable.
Python makes the development and debugging fast because there is no compilation step included in Python development, and edit-test-debug cycle is very fast
 Characteristics
  • It is a platform independent scripted language with full access to operating system API's
  • It provides rich data types and easier to read syntax than any other programming languages
  • Compared to other programming languages, it allows more run-time flexibility
  • A module in Python may have one or more classes and free functions
  • Libraries in Pythons are cross-platform compatible with Linux, Macintosh, and Windows
  • For building large applications, Python can be compiled to byte-code
  • Python supports functional and structured programming as well as OOP
  • It supports interactive mode that allows interacting testing and debugging of snippets of code
  • In Python, since there is no compilation step, editing, debugging and testing is fast.
Uses of Python
  • Program video games
  • Build Artificial Intelligence algorithms
  • Program various scientific programs such as statistical models

Python Features

Python provides lots of features that are listed below.

1) Easy to Learn and Use

Python is easy to learn and use. It is developer-friendly and high level programming language.

2) Expressive Language

Python language is more expressive means that it is more understandable and readable.

3) Interpreted Language

Python is an interpreted language i.e. interpreter executes the code line by line at a time. This makes debugging easy and thus suitable for beginners.

4) Cross-platform Language

Python can run equally on different platforms such as Windows, Linux, Unix and Macintosh etc. So, we can say that Python is a portable language.
5) Free and Open Source
Python language is freely available at offical web address.The source-code is also available. Therefore it is open source.

6) Object-Oriented Language

Python supports object oriented language and concepts of classes and objects come into existence.

7) Extensible

It implies that other languages such as C/C++ can be used to compile the code and thus it can be used further in our python code.

8) Large Standard Library

Python has a large and broad library and provides rich set of module and functions for rapid application development.
9) GUI Programming Support
Graphical user interfaces can be developed using Python.

10) Integrated

It can be easily integrated with languages like C, C++, JAVA etc.


Python History and Versions

  •  Python was created in the December 1989 by Guido Van Rossum at CWI in Netherland.
  • In February 1991, van Rossum published the code (labeled version 0.9.0) to alt.sources.
  • In 1994, Python 1.0 was released with new features like: lambda, map, filter, and reduce.
  • Python 2.0 added new features like: list comprehensions, garbage collection system.

Python Version List

A list of python versions with its released date is given below.
Python Version
Released Date
Python 1.0
January 1994
Python 1.5
December 31, 1997
Python 1.6
September 5, 2000
Python 2.0
October 16, 2000
Python 2.1
April 17, 2001
Python 2.2
December 21, 2001
Python 2.3
July 29, 2003
Python 2.4
November 30, 2004
Python 2.5
September 19, 2006
Python 2.6
October 1, 2008
Python 2.7
July 3, 2010
Python 3.0
December 3, 2008
Python 3.1
June 27, 2009
Python 3.2
February 20, 2011
Python 3.3
September 29, 2012
Python 3.4
March 16, 2014
Python 3.5
September 13, 2015
Python 3.6
December 23, 2016
Python 3.7
June 27, 2018


1 comment:

  1. You don't realize how quickly technology is changing. Data science is highly technical and is therefore in high demand. A career in data science will open up many lucrative job opportunities. So, if you have been wanting to start your career in Data Science, now is the best time to enroll in a data science program with one of the best data science training institute in noida.

    ReplyDelete

apply function in R

1) apply function: It takes 3 arguments matrix,margin and function.. Example: m<-matrix(c(1,2,3,4),nrow=2,ncol=2) m #1 indicates it is ap...