Python 3 Object-Oriented Programming, 2/e (Paperback)
暫譯: Python 3 物件導向程式設計(第二版)
Dusty Phillips
- 出版商: Packt Publishing
- 出版日期: 2015-08-22
- 售價: $2,200
- 貴賓價: 9.5 折 $2,090
- 語言: 英文
- 頁數: 460
- 裝訂: Paperback
- ISBN: 1784398780
- ISBN-13: 9781784398781
-
相關分類:
Python、程式語言、Object-oriented
-
相關翻譯:
Python 3 面向對象編程, 2/e (簡中版)
Python 3 物件導向程式設計, 2/e (繁中版)
-
其他版本:
Python 3 Object-Oriented Programming: Build robust and maintainable software with object-oriented design patterns in Python 3.8, 3rd Edition
買這商品的人也買了...
-
$480$379 -
$2,898Agile Principles, Patterns, and Practices in C# (Hardcover)
-
$1,110$1,055 -
$780$663 -
$780$616 -
$580$452 -
$400$380 -
$360$281 -
$613Black Hat Python: Python Programming for Hackers and Pentesters (Paperback)
-
$560Python 自然語言處理 (Natural Language Processing with Python)
-
$281程序員修煉之道 :從小工到專家 (The Pragmatic Programmer: From Journeyman to Master)
-
$650$553 -
$780$616 -
$360$284 -
$480$379 -
$860$731 -
$1,710Professional Python (Paperback)
-
$400$316 -
$590$502 -
$500$395 -
$690$538 -
$580$458 -
$680$530 -
$420$332 -
$3,180$3,021
相關主題
商品描述
Unleash the power of Python 3 objects
About This Book
- Stop writing scripts and start architecting programs
- Learn the latest Python syntax and libraries
- A practical, hands-on tutorial that teaches you all about abstract design patterns and how to implement them in Python 3
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 object-oriented programming in Python to design software, this is the book for you.
What You Will Learn
- Implement objects in Python by creating classes and defining methods
- Separate related objects into a taxonomy of classes and describe the properties and behaviors of those objects via the class interface
- 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
- Grasp common concurrency techniques and pitfalls in Python 3
- Exploit object-oriented programming in key Python technologies such as Kivy and Django.
- Object-oriented programming concurrently with asyncio
In Detail
Python 3 is more versatile and easier to use than ever. It runs on all major platforms in a huge array of use cases. Coding in Python minimizes development time and increases productivity in comparison to other languages. Clean, maintainable code is easy to both read and write using Python's clear, concise syntax.
Object-oriented programming is a popular design paradigm in which data and behaviors are encapsulated in such a way that they can be manipulated together. Many modern programming languages utilize the powerful concepts behind object-oriented programming and Python is no exception.
Starting with a detailed analysis of object-oriented analysis and design, you will use the Python programming language to clearly grasp key concepts from the object-oriented paradigm. This book fully explains classes, data encapsulation, inheritance, polymorphism, abstraction, and exceptions with an emphasis on when you can use each principle to develop well-designed software.
You'll get an in-depth analysis of many common object-oriented design patterns that are more suitable to Python's unique style. This book will not just teach Python syntax, but will also build your confidence in how to program.
You will also learn how to create maintainable applications by studying higher level design patterns. Following this, you'll learn 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 will be introduced in the book. After you discover the joy of unit testing and just how easy it can be, you'll study higher level libraries such as database connectors and GUI toolkits and learn how they uniquely apply object-oriented principles. You'll learn how these principles will allow you to make greater use of key members of the Python eco-system such as Django and Kivy.
This new edition includes all the topics that made Python 3 Object-oriented Programming an instant Packt classic. It's also packed with updated content to reflect recent changes in the core Python library and covers modern third-party packages that were not available on the Python 3 platform when the book was first published.
Style and approach
Throughout the book you will learn key object-oriented programming techniques demonstrated by comprehensive case studies in the context of a larger project.
商品描述(中文翻譯)
**釋放 Python 3 物件的力量**
## 本書介紹
- 停止編寫腳本,開始架構程式
- 學習最新的 Python 語法和函式庫
- 一個實用的、動手操作的教程,教你所有關於抽象設計模式及如何在 Python 3 中實現它們
## 本書適合誰
如果你是物件導向程式設計技術的新手,或者你具備基本的 Python 技能並希望深入了解如何以及何時正確地在 Python 中應用物件導向程式設計來設計軟體,那麼這本書就是為你而寫的。
## 你將學到什麼
- 通過創建類別和定義方法在 Python 中實現物件
- 將相關物件分離成類別的分類法,並通過類別介面描述這些物件的屬性和行為
- 使用繼承擴展類別功能
- 理解何時使用物件導向特性,更重要的是何時不使用它們
- 發現什麼是設計模式以及它們在 Python 中的不同之處
- 揭示單元測試的簡單性及其在 Python 中的重要性
- 掌握 Python 3 中常見的併發技術和陷阱
- 在 Kivy 和 Django 等關鍵 Python 技術中利用物件導向程式設計
- 與 asyncio 同時進行物件導向程式設計
## 詳細內容
Python 3 比以往任何時候都更具多功能性且更易於使用。它在所有主要平台上運行,適用於各種使用案例。與其他語言相比,使用 Python 編碼可以最小化開發時間並提高生產力。使用 Python 清晰、簡潔的語法,乾淨且可維護的程式碼易於閱讀和編寫。
物件導向程式設計是一種流行的設計範式,其中數據和行為以可以一起操作的方式進行封裝。許多現代程式語言利用物件導向程式設計背後的強大概念,Python 也不例外。
從對物件導向分析和設計的詳細分析開始,你將使用 Python 程式語言清楚地掌握物件導向範式中的關鍵概念。本書全面解釋了類別、數據封裝、繼承、多型、抽象和例外,並強調何時可以使用每個原則來開發設計良好的軟體。
你將深入分析許多更適合 Python 獨特風格的常見物件導向設計模式。本書不僅會教你 Python 語法,還會增強你編程的信心。
你還將通過研究更高級的設計模式來學習如何創建可維護的應用程式。接下來,你將學習字串和檔案操作的複雜性,以及 Python 如何區分二進位和文本數據。本書將介紹兩個非常強大的自動化測試系統。在你發現單元測試的樂趣及其簡單性後,你將學習更高級的函式庫,如資料庫連接器和 GUI 工具包,並了解它們如何獨特地應用物件導向原則。你將學習這些原則如何使你更好地利用 Python 生態系統中的關鍵成員,如 Django 和 Kivy。
這個新版本包含了使 Python 3 物件導向程式設計成為 Packt 經典的所有主題。它還包含更新的內容,以反映核心 Python 函式庫的最近變更,並涵蓋在本書首次出版時尚未在 Python 3 平台上可用的現代第三方套件。
## 風格與方法
在整本書中,你將學習關鍵的物件導向程式設計技術,並通過在更大項目背景下的綜合案例研究進行演示。