Mastering Object-Oriented Python - Second Edition (精通物件導向Python(第二版))

Lott, Steven F.

  • 出版商: Packt Publishing
  • 出版日期: 2019-06-14
  • 售價: $1,860
  • 貴賓價: 9.5$1,767
  • 語言: 英文
  • 頁數: 770
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1789531365
  • ISBN-13: 9781789531367
  • 相關分類: Python程式語言Object-oriented
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

More Information
Learn
  • Explore a variety of different design patterns for the __init__() method
  • Learn to use Flask to build a RESTful web service
  • Discover SOLID design patterns and principles
  • Use the features of Python 3's abstract base
  • Create classes for your own applications
  • Design testable code using pytest and fixtures
  • Understand how to design context managers that leverage the 'with' statement
  • Create a new type of collection using standard library and design techniques
  • Develop new number types above and beyond the built-in classes of numbers
About

Object-oriented programming (OOP) is a relatively complex discipline to master, and it can be difficult to see how general principles apply to each language's unique features. With the help of the latest edition of Mastering Objected-Oriented Python, you'll be shown how to effectively implement OOP in Python, and even explore Python 3.x.

 

Complete with practical examples, the book guides you through the advanced concepts of OOP in Python, and demonstrates how you can apply them to solve complex problems in OOP. You will learn how to create high-quality Python programs by exploring design alternatives and determining which design offers the best performance. Next, you'll work through special methods for handling simple object conversions and also learn about hashing and comparison of objects. As you cover later chapters, you'll discover how essential it is to locate the best algorithms and optimal data structures for developing robust solutions to programming problems with minimal computer processing. Finally, the book will assist you in leveraging various Python features by implementing object-oriented designs in your programs.

 

By the end of this book, you will have learned a number of alternate approaches with different attributes to confidently solve programming problems in Python.

Features
  • Extend core OOP techniques to increase integration of classes created with Python
  • Explore a variety of Python libraries for handling persistence and object serialization
  • Learn alternative approaches for solving programming problems with different attributes to address your problem domain

商品描述(中文翻譯)

更多資訊


學習


  • 探索各種不同的 __init__() 方法設計模式

  • 學習使用 Flask 建立 RESTful 網路服務

  • 了解 SOLID 設計模式和原則

  • 使用 Python 3 的抽象基底功能

  • 為自己的應用程式建立類別

  • 使用 pytest 和 fixtures 設計可測試的程式碼

  • 了解如何設計能夠利用 'with' 陳述式的上下文管理器

  • 使用標準程式庫和設計技巧建立新型的集合類型

  • 開發超越內建數字類別的新型數字類型





關於

物件導向程式設計 (OOP) 是一門相對複雜的學科,要掌握它並不容易,而且很難看到一般原則如何應用於每種語言的獨特特性。在最新版的《精通物件導向 Python》的幫助下,您將學習如何在 Python 中有效實現 OOP,甚至探索 Python 3.x。

 

本書配有實際範例,引導您深入了解 Python 中的 OOP 高級概念,並演示如何應用它們來解決 OOP 中的複雜問題。您將學習如何通過探索設計替代方案並確定哪種設計提供最佳性能來創建高質量的 Python 程式。接下來,您將學習處理簡單物件轉換的特殊方法,並了解物件的哈希和比較。隨著您閱讀後面的章節,您將發現在開發具有最小計算機處理的強大解決方案時,找到最佳算法和最佳資料結構是多麼重要。最後,本書將幫助您通過在程式中實現物件導向設計來利用各種 Python 功能。

 

通過閱讀本書,您將學習到多種具有不同特性的替代方法,以自信地解決 Python 程式設計問題。





特點


  • 擴展核心 OOP 技術,以增加使用 Python 創建的類別的整合性

  • 探索各種 Python 函式庫,用於處理持久性和物件序列化

  • 學習解決程式設計問題的替代方法,具有不同的特性以應對您的問題領域