Python History

Lets start off by looking at Python history. Python was developed at a time when many other dynamic and open-source programming languages like Tcl, Perl, Ruby etc. were also being actively developed and gaining popularity.
The below-given image depicts the python logo then vs Python logo now.
Python version history

Version 1: Python 1.0

In January 1994, the first version of Python 1.0 was released. This version 1 includes the major new features like the functional programming tools filter, reduce, map, and lambda etc.

Version 2: Python 2.0

After Six and a half years later, Python 2.0 was introduced in October 2000. In this release, a full garbage collector, list comprehensions were included, and it also supports Unicode.

Version 3: Python 3.0

Python then after 8 years, the next major release was made. This release was Python 3.0 also known as”Py3K” or “Python 3000”.

Interested in learning Python? Enroll in our Python Course in London now!

The major changes in Python 3.0 are:

  • In this version, Print is a Python function
  • Instead of lists, in this version, we have Views and iterators
  • In this version, we have more simplified rules for ordering comparisons. For example, we cannot sort a heterogeneous list, because each element of a Python List must be comparable to other elements.
  • In this python version, int. long is also an int as there is only one integer type.
  • In this python version, when we divide two integers it resultant returns is a float instead of an integer. We can use “//” to have the “old” behavior.
  • In this python version, Instead of Unicode Vs. 8-bit we have Text Vs. Data
  • The one drawback of Python 3.0 is that it is not backward compatible with Python 2.x.

Difference between python 2.0 and Python 3.0

Factor Code Python 2.0 output Python 3.0 output
Print function print ‘Hello World’print(‘Hello, intellipaat’) Hello WorldHello, intellipaat SyntaxError: invalid syntaxHello, intellipaat
Division operator print(7 / 5)
print(-7 / 5)
Exception Handling in Python try:
except NameError, err:
print err, ‘Error Caused’
name ‘trying_to_check_error’ is not defined Error Caused File “”, line 4
except NameError, err:
SyntaxError: invalid syntax
#we need to add as in place of comma after NameError to make it work

Kick-start your career in Python with the perfect Python Course in New York now!

Data science masters program

Python Latest version:

The Python latest version is 3.7.0. This stable version was released on 27 June.
The Python 3.7 version is aimed at making complex tasks simple, and It is currently in production release. The improvements to Python 3.7 version include:

  • Data classes that reduce boilerplate when working with data in classes.
  • A “development mode” for the interpreter.
  • A new built-in for triggering the debugger.
  • UTF-8 mode that uses UTF-8 encoding by default in the environment.
  • A potentially backward-incompatible change involving the handling of exceptions in generators.
  • Nanosecond-resolution time objects.

Check Python Version:

Most of the operating system will have python already installed. To check which Python version you have in your system you can:

  • Open Command prompt,
  • Run the following command.

check python version
With this, we have come to an end of this module. In the next module, we will see how to install Python in Windows, Linux and Mac operating systems. You can read and learn other related topics on Intellipaat’s Python Tutorial!
Meanwhile you can check our offers for Python course and also refer to the trending Python interview questions asked by the industry experts.

Course Schedule

Name Date
Python Course 2020-12-05 2020-12-06
(Sat-Sun) Weekend batch
View Details
Python Course 2020-12-12 2020-12-13
(Sat-Sun) Weekend batch
View Details
Python Course 2020-12-19 2020-12-20
(Sat-Sun) Weekend batch
View Details

Leave a Reply

Your email address will not be published. Required fields are marked *