目錄(124章)
倒序
- coverpage
- Python 3 Object-oriented Programming Second Edition
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Introduction to the second edition
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Object-oriented Design
- Introducing object-oriented
- Objects and classes
- Specifying attributes and behaviors
- Hiding details and creating the public interface
- Composition
- Inheritance
- Case study
- Exercises
- Summary
- Chapter 2. Objects in Python
- Creating Python classes
- Modules and packages
- Organizing module contents
- Who can access my data?
- Third-party libraries
- Case study
- Exercises
- Summary
- Chapter 3. When Objects Are Alike
- Basic inheritance
- Multiple inheritance
- Polymorphism
- Abstract base classes
- Case study
- Exercises
- Summary
- Chapter 4. Expecting the Unexpected
- Raising exceptions
- Case study
- Exercises
- Summary
- Chapter 5. When to Use Object-oriented Programming
- Treat objects as objects
- Adding behavior to class data with properties
- Manager objects
- Case study
- Exercises
- Summary
- Chapter 6. Python Data Structures
- Empty objects
- Tuples and named tuples
- Dictionaries
- Lists
- Sets
- Extending built-ins
- Queues
- Case study
- Exercises
- Summary
- Chapter 7. Python Object-oriented Shortcuts
- Python built-in functions
- An alternative to method overloading
- Functions are objects too
- Case study
- Exercises
- Summary
- Chapter 8. Strings and Serialization
- Strings
- Regular expressions
- Serializing objects
- Case study
- Exercises
- Summary
- Chapter 9. The Iterator Pattern
- Design patterns in brief
- Iterators
- Comprehensions
- Generators
- Coroutines
- Case study
- Exercises
- Summary
- Chapter 10. Python Design Patterns I
- The decorator pattern
- The observer pattern
- The strategy pattern
- The state pattern
- The singleton pattern
- The template pattern
- Exercises
- Summary
- Chapter 11. Python Design Patterns II
- The adapter pattern
- The facade pattern
- The flyweight pattern
- The command pattern
- The abstract factory pattern
- The composite pattern
- Exercises
- Summary
- Chapter 12. Testing Object-oriented Programs
- Why test?
- Unit testing
- Testing with py.test
- Imitating expensive objects
- How much testing is enough?
- Case study
- Exercises
- Summary
- Chapter 13. Concurrency
- Threads
- Multiprocessing
- Futures
- AsyncIO
- Case study
- Exercises
- Summary
- Index 更新時間:2021-07-16 20:44:49
推薦閱讀
- Google Flutter Mobile Development Quick Start Guide
- Redis Applied Design Patterns
- GeoServer Cookbook
- PHP基礎案例教程
- AngularJS深度剖析與最佳實踐
- Python Geospatial Development(Second Edition)
- Python自然語言處理(微課版)
- 網店設計看這本就夠了
- HDInsight Essentials(Second Edition)
- Apache Spark 2.x for Java Developers
- Getting Started with Laravel 4
- Python網絡爬蟲技術與應用
- 算法設計與分析:基于C++編程語言的描述
- PHP動態網站開發實踐教程
- 輕松學Scratch 3.0 少兒編程(全彩)
- Lync Server Cookbook
- VMware vRealize Orchestrator Essentials
- Learning Rust
- C++程序設計習題與實驗指導
- Arduino Robotic Projects
- CorelDRAW X6中文版應用教程(第二版)
- 新手學ASP動態網頁開發
- 區塊鏈原理與技術應用
- 數據結構案例教程:C語言版
- 軟件工程實用教程
- 商業銀行經營管理(第2版)
- 分布式中間件技術實戰:Java版
- Learn React Hooks
- 編程大講壇:Java核心開發技術從入門到精通
- HTML5 Data and Services Cookbook