
Python高级编程第二版(完整文字版)于第499页。
5星
- 浏览量: 0
- 大小:None
- 文件类型:None
简介:
Table of Contents Preface xi Chapter 1: Current Status of Python 1 Where Are We Now and Where Are We Going? 2 Why and How Does Python Change? 2 Getting Up to Date with Changes – PEP Documents 3 Python 3 Adoption at the Time of Writing This Book 4 The Main Differences Between Python 3 and Python 2 5 Why Should I Care? 5 The Main Syntax Differences and Common Pitfalls 5 Syntax Changes 6 Changes in the Standard Library 7 Changes in Data Types and Collections 8 The Popular Tools and Techniques Used for Maintaining Cross-Version Compatibility 8 Not Only CPython 12 Why Should I Care? 13 Stackless Python 13 Jython 14 IronPython 14 PyPy 15 Modern Approaches to Python Development 16 Application-Level Isolation of Python Environments 17 Why Isolation? 19 Popular Solutions 21 virtualenv 21 venv 23 buildout 24 Which One to Choose. This comprehensive resource, spanning approximately four hundred ninety-nine pages, provides a thorough examination of the evolution and current state of the Python programming language. It begins by outlining the present landscape and future trajectory of Python, exploring the reasons behind its continuous transformation. Readers are then guided through essential updates, referencing PEP (Python Enhancement Proposals) documents to ensure they remain informed about recent changes. The text meticulously details the key distinctions between Python versions three and two, highlighting significant differences in syntax and common potential challenges. Furthermore, it investigates the motivations for adopting Python three, examining various implementations such as Stackless Python, Jython, IronPython, and PyPy. The book also delves into modern development practices including application-level isolation of Python environments – a critical consideration for maintaining compatibility across different versions. Finally, it explores widely used solutions like virtualenv, venv, and buildout to assist developers in selecting the most appropriate tools for their projects.
全部评论 (0)


