|
|
|
|
LEADER |
00000cam a2200000 a 4500 |
001 |
ocn878924388 |
003 |
OCoLC |
005 |
20241006213017.0 |
006 |
m o d |
007 |
cr |n||||||||| |
008 |
140502s2014 xx o 000 0 eng d |
040 |
|
|
|a IDEBK
|b eng
|e pn
|c IDEBK
|d EBLCP
|d MHW
|d DEBSZ
|d OCLCQ
|d VT2
|d OCLCO
|d N$T
|d COO
|d OCLCO
|d N$T
|d OCLCF
|d OCLCQ
|d OCLCO
|d OCLCQ
|d AGLDB
|d OCLCQ
|d ICA
|d OCLCQ
|d ZCU
|d MERUC
|d OCLCQ
|d D6H
|d OCLCQ
|d VTS
|d ICG
|d OCLCQ
|d STF
|d DKC
|d AU@
|d OCLCQ
|d AJS
|d SGP
|d OCLCO
|d OCLCQ
|d OCLCO
|d OCLCL
|d OCLCQ
|d SXB
|d OCLCQ
|
020 |
|
|
|a 1306695562
|q (electronic bk.)
|
020 |
|
|
|a 9781306695565
|q (electronic bk.)
|
020 |
|
|
|a 9781783280988
|q (electronic bk.)
|
020 |
|
|
|a 1783280980
|q (electronic bk.)
|
020 |
|
|
|z 9781783280971
|
020 |
|
|
|z 1783280972
|
035 |
|
|
|a (OCoLC)878924388
|
037 |
|
|
|a 600807
|b MIL
|
050 |
|
4 |
|a QA76.73 .P98
|
072 |
|
7 |
|a COM
|x 051360
|2 bisacsh
|
049 |
|
|
|a HCDD
|
100 |
1 |
|
|a F. Lott, Steven.
|
245 |
1 |
0 |
|a Mastering Object-oriented Python.
|
260 |
|
|
|b Packt Publishing,
|c 2014.
|
300 |
|
|
|a 1 online resource
|
336 |
|
|
|a text
|b txt
|2 rdacontent
|
337 |
|
|
|a computer
|b c
|2 rdamedia
|
338 |
|
|
|a online resource
|b cr
|2 rdacarrier
|
490 |
1 |
|
|a Community Experience Distilled
|
588 |
0 |
|
|a Print version record.
|
520 |
|
|
|a This book follows a standard tutorial approach with approximately 750 code samples spread through the 19 chapters. This amounts to over 5,900 lines of code that illustrate each concept. This book is aimed at programmers who have already learned the basics of object-oriented Python and need to write more sophisticated, flexible code that integrates seamlessly with the rest of Python. This book assumes a computer science background, with experience of common Python design patterns.
|
505 |
0 |
|
|a Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Some Preliminaries; About casino Blackjack; Playing the game; Blackjack player strategies; Object design for simulating Blackjack; Performance -- the time it module; Testing -- unittest and doctest; Unit testing and technology spikes; Docstrings -- RST markup and documentation tools; The IDE question; About special method names; Summary; Part 1: Pythonic Classes via Special Methods; Chapter 1: The __init__() Method; The implicit superclass -- object
|
505 |
8 |
|
|a The base class object __init__() method Implementing __init__() in a super class; Using __init__() to create manifest constants; Leveraging __init__() via a factory function; Faulty factory design and the vague else clause; Simplicity and consistency using elif sequences; Simplicity using mapping and class objects; Two parallel mappings; Mapping to a tuple of values; The partial function solution; Fluent APIs for factories; Implementing __init__() in each subclass; Simple composite objects; Wrapping a collection class; Extending a collection class; More requirements and another design
|
505 |
8 |
|
|a Complex composite objects Complete composite object initialization; Stateless objects without __init__(); Some additional class definitions; Multi-strategy __init__(); More complex initialization alternatives; Initializing static methods; Yet more __init__() techniques; Initialization with type validation; Initialization, encapsulation, and privacy; Summary; Chapter 2: Integrating Seamlessly with Python -- Basic Special Methods; The __repr__() and __str__() methods; Non collection __str__() and __repr__(); Collection __str__() and __repr__(); The __format__() method
|
505 |
8 |
|
|a Nested formatting specifications Collections and delegating format specifications; The __hash__() method; Deciding what to hash; Inheriting definitions for immutable objects; Overriding definitions for immutable objects; Overriding definitions for mutable objects; Making a frozen hand from a mutable hand; The __bool__() method; The __bytes__() method; The comparison operator methods; Designing comparisons; Implementation of comparison for objects of the same class; Implementation of comparison for objects of mixed classes; Hard totals, soft totals, and polymorphism
|
505 |
8 |
|
|a A mixed class comparison example The __del__() method; The reference count and destruction; Circular references and garbage collection; Circular references and the weak ref module; The __del__() and close() methods; The __new__() method and immutable objects; The __new__() method and metaclasses; Metaclass example 1 -- ordered attributes; Metaclass example 2 -- self-reference; Summary; Chapter 3: Attribute Access, Properties, and Descriptors; Basic attribute processing; Attributes and the __init__() method; Creating properties; Eagerly computed properties; Setter and deleter properties
|
650 |
|
0 |
|a Python (Computer program language)
|
650 |
|
7 |
|a COMPUTERS
|x Programming Languages
|x Python.
|2 bisacsh
|
650 |
|
7 |
|a Python (Computer program language)
|2 fast
|
758 |
|
|
|i has work:
|a Mastering object-oriented Python (Text)
|1 https://id.oclc.org/worldcat/entity/E39PCFP3BDfhhGBMqT4C8vYfhd
|4 https://id.oclc.org/worldcat/ontology/hasWork
|
776 |
0 |
8 |
|i Print version:
|z 9781306695565
|
830 |
|
0 |
|a Community experience distilled.
|
856 |
4 |
0 |
|u https://ebookcentral.proquest.com/lib/holycrosscollege-ebooks/detail.action?docID=1674864
|y Click for online access
|
903 |
|
|
|a EBC-AC
|
994 |
|
|
|a 92
|b HCD
|