Python Object-Oriented Programming: Build robust and maintainable object-oriented Python applications and libraries, 4th Edition

0
(0)

Python Object-Oriented Programming: Build robust and maintainable object-oriented Python applications and libraries, 4th Edition
 

  • Author:Dusty PhillipsSteven F. Lott
  • Length: 714 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2021-07-02
  • ISBN-10: 1801077266
  • ISBN-13: 9781801077262
  • Sales Rank: #271357 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    A comprehensive guide to exploring modern Python through data structures, design patterns, and effective object-oriented techniques

    Key Features

    • Build an intuitive understanding of object-oriented design, from introductory to mature programs
    • Learn the ins and outs of Python syntax, libraries, and best practices
    • Examine a machine-learning case study at the end of each chapter

    Book Description

    Python Object-Oriented Programming, Fourth Edition dives deep into the various aspects of OOP, Python as an OOP language, common and advanced design patterns, and hands-on data manipulation and testing of more complex OOP systems. These concepts are consolidated by open-ended exercises, as well as a real-world case study at the end of every chapter, newly written for this edition. All example code is now compatible with Python 3.9+ syntax and has been updated with type hints for ease of learning.

    Steven and Dusty provide a friendly, comprehensive tour of important OOP concepts, such as inheritance, composition, and polymorphism, and explain how they work together with Python’s classes and data structures to facilitate good design. UML class diagrams are generously used throughout the text for you to understand class relationships. Beyond the book’s focus on OOP, it features an in-depth look at Python’s exception handling and how functional programming intersects with OOP. Not one, but two very powerful automated testing systems, unittest and pytest, are introduced in this book. The final chapter provides a detailed discussion of Python’s concurrent programming ecosystem.

    By the end of the book, you will have a thorough understanding of how to think about and apply object-oriented principles using Python syntax and be able to confidently create robust and reliable programs.

    What you will learn

    • Implement objects in Python by creating classes and defining methods
    • Extend class functionality using inheritance
    • Use exceptions to handle unusual situations cleanly
    • Understand when to use object-oriented features, and more importantly, when not to use them
    • Discover several widely used design patterns and how they are implemented in Python
    • Uncover the simplicity of unit and integration testing and understand why they are so important
    • Learn to statically type check your dynamic code
    • Understand concurrency with asyncio and how it speeds up programs

    Who this book is for

    If you are new to object-oriented programming techniques, or if you have basic Python skills and wish to learn how and when to correctly apply OOP principles in Python, this is the book for you. Moreover, if you are an object-oriented programmer coming from other languages or seeking a leg up in the new world of Python, you will find this book a useful introduction to Python. Minimal previous experience with Python is necessary.

    中文:

    书名:面向对象的编程:构建健壮且可维护的面向对象的Python应用程序和库,第4版

    通过数据结构、设计模式和有效的面向对象技术探索现代Python的综合指南

    主要特点

    • 建立对面向对象设计的直观理解,从入门程序到成熟程序
    • 了解有关Python语法、库和最佳实践的详细信息
    • 在每章的末尾检查一个机器学习案例研究

    图书描述

    面向对象的编程,第四版深入探讨了OOP的各个方面,作为一种OOP语言,公共和高级设计模式,以及更复杂的OOP系统的实际操作和测试。这些概念是通过开放式练习巩固的,以及在每一章结束时的真实世界案例研究,新为这个版本写的。所有示例代码现在都与Python3.9+语法兼容,并且已经使用类型提示进行了更新,以便于学习。

    Steven和Dufield友好而全面地介绍了重要的OOP概念,如继承、组合和多态,并解释了它们如何与Python的类和数据结构一起工作,以促进良好的设计。在整篇文章中,大量使用了UML类图来帮助您理解类关系。除了本书对面向对象编程的关注之外,它还深入探讨了Python的异常处理以及函数式编程如何与面向对象编程交叉。这本书介绍的不是一个,而是两个非常强大的自动化测试系统,unittest和pytest。最后一章详细讨论了Python的并发编程生态系统。

    到本书结束时,您将彻底了解如何使用Python语法思考和应用面向对象的原则,并能够自信地创建健壮可靠的程序。

    What you will learn

    • Implement objects in Python by creating classes and defining methods
    • 使用继承扩展类功能
    • 使用异常干净地处理异常情况
    • 了解何时使用面向对象的功能,更重要的是,了解何时不使用它们
    • 了解几种广泛使用的设计模式及其在Python中的实现方式
    • 揭示单元和集成测试的简单性,并了解它们为何如此重要
    • 学习静态输入检查动态代码
    • 了解Ayncio的并发性以及它如何加速程序

    Who this book is for

    如果您是面向对象编程技术的新手,或者您已经掌握了基本的Python技能,并且希望学习如何以及何时正确地在Python中应用OOP原则,这是一本适合您的书。此外,如果您是一名来自其他语言的面向对象程序员,或者希望在新的Python世界中占据一席之地,您会发现这本书是一本关于Python的有用入门书。必须具备最少的以前使用过的Python经验。

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册