官术网_书友最值得收藏!

Versions of the Python language

There are two important versions of the Python language in common use right now:
Python 2 and Python 3. These two versions represent changes in some key elements
of the language, and code written for one will not generally work for the other unless you take special precautions. Python 2 is older and more well-established than Python 3, but Python 3 addresses some known shortcomings in the older version. Python 3 is the definite future of Python, and you should use it if at all possible.

While there are some critical differences between Python 2 and 3, most of the fundamentals of the two version are the same. If you learn one, most of what you know transfers cleanly to the other. In this book we'll be teaching Python 3, but we'll point out important differences between the versions when necessary.

主站蜘蛛池模板: 东平县| 胶州市| 淮阳县| 定结县| 天气| 武义县| 海伦市| 古田县| 青岛市| 蒲江县| 长宁县| 芦山县| 靖安县| 涿鹿县| 疏附县| 洛浦县| 山阳县| 房产| 桓仁| 和田市| 永靖县| 富阳市| 宁城县| 公主岭市| 鹤岗市| 洛浦县| 石门县| 惠安县| 都安| 雅安市| 福安市| 庆阳市| 威海市| 东城区| 仪陇县| 景宁| 鲁山县| 塔河县| 吉安市| 保山市| 固安县|