New versions of Python introduce new features, but in fact these features already exist in the previous Version. To "try out" A new feature, you can do so by importing some of the features of the __future__ Module.
For example, the integer division operation of Python 2.7 is still an integer:
>>> 10/33
however, Python 3.x has improved the division of integers, "/" in addition to the floating-point number, "//" is still an integer:
>>> 10/33.3333333333333335>>> 10//33
To introduce the 3.x division rule in Python 2.7, import the __future__ division:
from __future__ Import Division Print 10/33.3333333333333335
When an attribute of the new version is incompatible with the old version, the feature will be added to the __future__ in the old version so that the old code can test the new feature in the old Version.
Python uses __future__ (different versions, incompatible issues)