Python 3 Object-Oriented Programming: Build robust and maintainable software with object-oriented design patterns in Python 3.8, 3rd Edition
暫譯: Python 3 物件導向程式設計:使用 Python 3.8 的物件導向設計模式構建穩健且可維護的軟體(第三版)
Dusty Phillips
- 出版商: Packt Publishing
- 出版日期: 2018-10-30
- 售價: $3,210
- 貴賓價: 9.5 折 $3,050
- 語言: 英文
- 頁數: 466
- 裝訂: Paperback
- ISBN: 1789615852
- ISBN-13: 9781789615852
-
相關分類:
Python、程式語言、Object-oriented、Design Pattern
-
其他版本:
Python Object-Oriented Programming : Build robust and maintainable object-oriented Python applications and libraries, 4/e (Paperback)
買這商品的人也買了...
-
$1,860$1,823 -
$1,200$1,140 -
$780$616 -
$2,220$2,109 -
$1,350$1,323 -
$680$530 -
$1,420$1,392 -
$590$460 -
$720$706 -
$2,720$2,584 -
$454零基礎入門學習 Python, 2/e
-
$1,620$1,588 -
$2,290$2,176 -
$551Introduction to Linear Algebra, 5/e
-
$1,464Deep Learning with TensorFlow 2 and Keras, 2/e (Paperback)
-
$1,645$1,563 -
$1,200$948 -
$1,480$1,450 -
$550$495 -
$1,813Modern Quantum Mechanics, 3/e (Hardcover)
-
$580$458 -
$550$435 -
$580$452 -
$1,780$1,744 -
$650$637
商品描述
Uncover modern Python with this guide to Python data structures, design patterns, and effective object-oriented techniques
Key Features
- In-depth analysis of many common object-oriented design patterns that are more suitable to Python's unique style
- Learn the latest Python syntax and libraries
- Explore abstract design patterns and implement them in Python 3.8
Book Description
Object-oriented programming (OOP) is a popular design paradigm in which data and behaviors are encapsulated in such a way that they can be manipulated together. This third edition of Python 3 Object-Oriented Programming fully explains classes, data encapsulation, and exceptions with an emphasis on when you can use each principle to develop well-designed software.
Starting with a detailed analysis of object-oriented programming, you will use the Python programming language to clearly grasp key concepts from the object-oriented paradigm. You will learn how to create maintainable applications by studying higher level design patterns. The book will show you the complexities of string and file manipulation, and how Python distinguishes between binary and textual data. Not one, but two very powerful automated testing systems, unittest and pytest, will be introduced in this book. You'll get a comprehensive introduction to Python's concurrent programming ecosystem.
By the end of the book, you will have thoroughly learned object-oriented principles using Python syntax and be able to create robust and reliable programs confidently.
What you will learn
- Implement objects in Python by creating classes and defining methods
- Grasp common concurrency techniques and pitfalls in Python 3
- Extend class functionality using inheritance
- Understand when to use object-oriented features, and more importantly when not to use them
- Discover what design patterns are and why they are different in Python
- Uncover the simplicity of unit testing and why it's so important in Python
- Explore concurrent object-oriented programming
Who this book is for
If you're new to object-oriented programming techniques, or if you have basic Python skills and wish to learn in depth how and when to correctly apply OOP in Python, this is the book for you. If you are an object-oriented programmer for other languages or seeking a leg up in the new world of Python 3.8, you too will find this book a useful introduction to Python. Previous experience with Python 3 is not necessary.
Table of Contents
- Object-oriented Design
- Objects in Python
- When Objects Are Alike
- Expecting the Unexpected
- When to Use Object-oriented Programming
- Python Data Structures
- Python Object-oriented Shortcuts
- Strings and Serialization
- The Iterator Pattern
- Python Design Patterns I
- Python Design Patterns II
- Testing Object-oriented Programs
- Concurrency
商品描述(中文翻譯)
**揭開現代 Python 的面紗,透過這本指南了解 Python 的資料結構、設計模式及有效的物件導向技術**
### 主要特色
- 深入分析許多更適合 Python 獨特風格的常見物件導向設計模式
- 學習最新的 Python 語法和函式庫
- 探索抽象設計模式並在 Python 3.8 中實作
### 書籍描述
物件導向程式設計(OOP)是一種流行的設計範式,其中資料和行為被封裝在一起,以便可以一起操作。本書的第三版《Python 3 物件導向程式設計》全面解釋了類別、資料封裝和例外,並強調何時可以使用每個原則來開發設計良好的軟體。
從對物件導向程式設計的詳細分析開始,您將使用 Python 程式語言清楚掌握物件導向範式中的關鍵概念。您將學習如何通過研究更高層次的設計模式來創建可維護的應用程式。本書將展示字串和檔案操作的複雜性,以及 Python 如何區分二進位和文本資料。本書將介紹兩個非常強大的自動化測試系統:unittest 和 pytest。您將獲得對 Python 的併發程式設計生態系統的全面介紹。
在本書結束時,您將徹底學會使用 Python 語法的物件導向原則,並能夠自信地創建穩健且可靠的程式。
### 您將學到什麼
- 通過創建類別和定義方法在 Python 中實作物件
- 理解 Python 3 中常見的併發技術和陷阱
- 使用繼承擴展類別功能
- 了解何時使用物件導向特性,更重要的是何時不使用它們
- 發現設計模式是什麼,以及它們在 Python 中的不同之處
- 揭示單元測試的簡單性及其在 Python 中的重要性
- 探索併發物件導向程式設計
### 本書適合誰
如果您是物件導向程式設計技術的新手,或是擁有基本的 Python 技能並希望深入了解如何以及何時正確應用 OOP 在 Python 中,那麼這本書就是為您而寫。如果您是其他語言的物件導向程式設計師,或是希望在 Python 3.8 的新世界中獲得優勢,您也會發現這本書是 Python 的有用入門書。對 Python 3 的先前經驗並不是必需的。
### 目錄
1. 物件導向設計
2. Python 中的物件
3. 當物件相似時
4. 預期意外
5. 何時使用物件導向程式設計
6. Python 資料結構
7. Python 物件導向捷徑
8. 字串與序列化
9. 迭代器模式
10. Python 設計模式 I
11. Python 設計模式 II
12. 測試物件導向程式
13. 併發