Python3面向对象编程(第2版 影印版 英文版) [Python 3 object-oriented Programming Second Edition] epub pdf  mobi txt 电子书 下载

Python3面向对象编程(第2版 影印版 英文版) [Python 3 object-oriented Programming Second Edition] epub pdf mobi txt 电子书 下载 2024

Python3面向对象编程(第2版 影印版 英文版) [Python 3 object-oriented Programming Second Edition] epub pdf mobi txt 电子书 下载 2024


简体网页||繁体网页
Dusty,Phillips 著

下载链接在页面底部


点击这里下载
    

想要找书就要到 静思书屋
立刻按 ctrl+D收藏本页
你会得到大惊喜!!

发表于2024-11-24


商品介绍



出版社: 东南大学出版社
ISBN:9787564170745
版次:2
商品编码:12196728
包装:平装
外文名称:Python 3 object-oriented Programming Second Edition
开本:16开
出版时间:2017-04-01
用纸:胶版纸
页数:431
字数:558000
正文语种:中

Python3面向对象编程(第2版 影印版 英文版) [Python 3 object-oriented Programming Second Edition] epub pdf mobi txt 电子书 下载 2024



类似图书 点击查看全场最低价

相关书籍





书籍描述

内容简介

  《Python3面向对象编程(第2版 影印版 英文版)》讲解了类、数据封装、继承、多态、抽象和异常,着重强调了在一款设计良好的软件开发过程中使用每个原则的时机。除了学习如何利用高层次的设计模式来创建可维护的应用程序,你还可以了解到字符串和文件处理的复杂性以及Python区分二进制数据和文本数据的方法。另外,单元测试的乐趣以及并发编程的难题也是少不了的。
  书中更新了大量的内容,以反映出近来核心Python库的变化,这些新的特性在《Python3面向对象编程(第2版 影印版 英文版)》备受赞誉的第1版面世时还无法使用。除此之外,全书的结构也进行了重新调整和组织,提升了知识量,增强了阅读体验。
  目标读者如果你是初次接触面向对象编程技术,或是只具备基本的Python技能,希望能够深入学习如何正确地使用Python面向对象编程技术来设计软件,那么《Python3面向对象编程(第2版 影印版 英文版)》就是为你准备的。
  你将从《Python3面向对象编程(第2版 影印版 英文版)》中学到什么通过创建类和定义方法来实现Python对象。
  将相关的对象划分成不同的类,通过类接口来描述这些对象的属性和行为。
  使用继承来扩展类的功能。
  明白什么时候使用面向对象特性,什么时候不使用(后者更重要)。
  了解什么是设计模式,为什么在Python中有这些不同的设计模式。
  揭示单元测试的简洁性及其在Python中的重要性。
  理解Python3中常见的并发编程技术和陷阱。
  探究用于开发大规模并发网络系统的新模块Async10。

作者简介

  Dusty Phillips,is a Canadian software developer and author currently living in Seattle, Washington. He has been active in the open source community for a decade and a half and programming in Python for nearly all of it. He cofounded the popular Puget Sound Programming Python meetup group; drop by and say hi if you're in the area.

目录

Preface
Chapter 1: Object-oriented Desiqn
Introducing object-oriented
Objects and classes
Specifying attributes and behaviors
Data describes objects
Behaviors are actions
Hiding details and creating the public interface
Composition
Inheritance
Inheritance provides abstraction
Multiple inheritance
Case study
Exercises
Summary

Chapter 2: Objects in Python
Creating Python classes
Adding attributes
Making it do something
Talking to yourself
More arguments
Initializing the object
Explaining yourself
Modules and packages
Organizing the modules
Absolute imports
Relative imports
Organizing module contents
Who can access my data?
Third-party libraries
Case study
Exercises
Summary

Chapter 3: When Objects Are Alike
Basic inheritance
Extending built-ins
Overriding and super
Multiple inheritance
The diamond problem
Different sets of arguments
Polymorphism
Abstract base classes
Using an abstract base class
Creating an abstract base class
Demystifying the magic
Case study
Exercises
Summary

Chapter 4: Expecting the Unexpected
Raising exceptions
Raising an exception
The effects of an exception
Handling exceptions
The exception hierarchy
Defining our own exceptions
Case study
Exercises
Summary

Chapter 5: When to Use Object-oriented Programming
Treat objects as objects
Adding behavior to class data with properties
Properties in detail
Decorators - another way to create properties
Deciding when to use properties
Manager objects
Removing duplicate code
In practice
Case study
Exercises
Summary

Chapter 6: Python Data Structures
Empty objects
Tuples and named tuples
Named tuples
Dictionaries
Dictionary use cases
Using defaultdict
Counter
Lists
Sorting lists
Sets
Extending built-ins
Queues
FIFO queues
LIFO queues
Priority queues
Case study
Exercises
Summary

Chapter 7: Python Object-oriented Shortcuts
Python built-in functions
The len() function
Reversed
Enumerate
File I/O
Placing it in context
An alternative to method overloading
Default arguments
Variable argument lists
Unpacking arguments
Functions are objects too
Using functions as attributes
Callable objects
Case study
Exercises
Summary

Chapter 8: Strings and Serialization
Strings
String manipulation
String formatting
Escaping braces
Keyword arguments
Container Iookups
Object Iookups
Making it look right
Strings are Unicode
Converting bytes to text
Converting text to bytes
Mutable byte strings
Regular expressions
Matching patterns
Matching a selection of characters
Escaping characters
Matching multiple characters
Grouping patterns together
Getting information from regular expressions
Making repeated regular expressions efficient
Serializing objects
Customizing pickles
Serializing web objects
Case study
Exercises
Summary

Chapter 9: The Iterator Pattern
Design patterns in brief
Iterators
The iterator protocol
Comprehensions
List comprehensions
Set and dictionary comprehensions
Generator expressions
Generators
Yield items from another iterable
Coroutines
Back to log parsing
Closing coroutines and throwing exceptions
The relationship between coroutines, generators, and functions
Case study
Exercises
Summary

Chapter 10: Python Design Patterns I
The decorator pattern
A decorator example
Decorators in Python
The observer pattern
An observer example
The strategy pattern
A strategy example
Strategy in Python
The state pattern
A state example
State versus strategy
State transition as coroutines
The singleton pattern
Singleton implementation
The template pattern
A template example
Exercises
Summary

Chapter 11: Python Design Patterns II
The adapter pattern
The facade pattern
The flyweight pattern
The command pattern
The abstract factory pattern
The composite pattern
Exercises
Summary

Chapter 12: Testing Object-oriented Programs
Why test?
Test-driven development
Unit testing
Assertion methods
Reducing boilerplate and cleaning up
Organizing and running tests
Ignoring broken tests
Testing with py.test
One way to do setup and cleanup
A completely different way to set up variables
Skipping tests with py.test
Imitating expensive objects
How much testing is enough?
Case study
Implementing it
Exercises
Summary

Chapter 13: Concurrency
Threads
The many problems with threads
Shared memory
The global interpreter lock
Thread overhead
Multiprocessing
Multiprocessing pools
Queues
The problems with multiprocessing
Futures
AsynclO
AsynclO in action
Reading an AsynclO future
AsynclO for networking
Using executors to wrap blocking code
Streams
Executors
Case study
Exercises
Summary
Index

Python3面向对象编程(第2版 影印版 英文版) [Python 3 object-oriented Programming Second Edition] epub pdf mobi txt 电子书 下载 2024

Python3面向对象编程(第2版 影印版 英文版) [Python 3 object-oriented Programming Second Edition] 下载 epub mobi pdf txt 电子书 2024

Python3面向对象编程(第2版 影印版 英文版) [Python 3 object-oriented Programming Second Edition] pdf 下载 mobi 下载 pub 下载 txt 电子书 下载 2024

Python3面向对象编程(第2版 影印版 英文版) [Python 3 object-oriented Programming Second Edition] mobi pdf epub txt 电子书 下载 2024

Python3面向对象编程(第2版 影印版 英文版) [Python 3 object-oriented Programming Second Edition] epub pdf mobi txt 电子书 下载
想要找书就要到 静思书屋
立刻按 ctrl+D收藏本页
你会得到大惊喜!!

读者评价

评分

娘子,啊哈!

评分

评分

娘子,啊哈!

评分

还没来得及看内容,不过纸张很一般,很一般,很一般…

评分

好书

评分

东西不错,已经收到。正在使用,满意。

评分

东西不错,已经收到。正在使用,满意。

评分

Good ... Good ...Good ... Good ...Good ... Good ...Good ... Good ...

评分

好书

Python3面向对象编程(第2版 影印版 英文版) [Python 3 object-oriented Programming Second Edition] epub pdf mobi txt 电子书 下载 2024

类似图书 点击查看全场最低价

Python3面向对象编程(第2版 影印版 英文版) [Python 3 object-oriented Programming Second Edition] epub pdf mobi txt 电子书 下载 2024


分享链接









相关书籍


本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度google,bing,sogou

友情链接

© 2024 book.idnshop.cc All Rights Reserved. 静思书屋 版权所有