Python 3 Object-Oriented Programming: Build robust and maintainable software with object-oriented design patterns in Python 3.8, 3rd Edition
Dusty Phillips
- 出版商: Packt Publishing
- 出版日期: 2018-10-30
- 售價: $3,100
- 貴賓價: 9.5 折 $2,945
- 語言: 英文
- 頁數: 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,400$1,330 -
$1,860$1,823 -
$1,200$1,140 -
$780$616 -
$2,140$2,033 -
$1,350$1,323 -
$680$530 -
$1,420$1,392 -
$590$460 -
$720$706 -
$2,620$2,489 -
$454零基礎入門學習 Python, 2/e
-
$1,620$1,588 -
$2,100$1,995 -
$551Introduction to Linear Algebra, 5/e
-
$882Deep Learning with TensorFlow 2 and Keras, 2/e (Paperback)
-
$1,645$1,563 -
$1,200$948 -
$1,480$1,450 -
$550$495 -
$580$493 -
$550$435 -
$580$452 -
$1,666Principles of Superconducting Quantum Computers (Hardcover)
-
$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. 並行程式設計