Читать книгу Introduction to Python Programming for Business and Social Science Applications - Frederick Kaefer - Страница 20

Python Versions

Оглавление

Python versions are numbered A.B.C., where A is the major version, B is a minor version number (for incremental changes), and C is a micro-level number (for bug fixes; Python Software Foundation, 2019, “General Python FAQ”). Release Version 3.x has significant changes from release Version 2.x, and code written in each version is not compatible with the other version. Figure 1.1 shows that the release date for release Version 2.7.17 is October 19, 2019. There are still new updates for Python Version 2.x for those who have developed Python code in the past and do not want to make the changes necessary for that code to be compatible with Version 3.x. Python Version 3.x is the recommended version as Version 2.x, although still widely used, will no longer be maintained after January 1, 2020 (Python Software Foundation, 2019, “General Python FAQ”). This book uses Python Version 3.7, and we have tested all Python code in the book using that specific version. If you use either an older or a newer version of Python, there may be some issues with code execution.

Lessons learned: In this section, we learned how to install Python on our computer and that there are different versions of Python. We also learned that using different operating systems and different versions of Python can affect how we write and execute Python code.

Introduction to Python Programming for Business and Social Science Applications

Подняться наверх