Python Object-Oriented Programming - Fourth Edition

- Autorzy:
- Steven F. Lott, Dusty Phillips


- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 714
- Dostępne formaty:
-
PDFePub
Opis książki: Python Object-Oriented Programming - Fourth Edition
Object-oriented programming (OOP) is a popular design paradigm in which data and behaviors are encapsulated in such a way that they can be manipulated together. 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 comprehensive, illustrative 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. In addition, the book also features an in-depth look at Python's exception handling and how functional programming intersects with OOP. Two very powerful automated testing systems, unittest and pytest, are introduced. 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.
Wybrane bestsellery
-
To drugie, zaktualizowane i poprawione wydanie bestsellerowego podręcznika Programowania w Pythonie pozwoli Ci błyskawicznie zacząć tworzyć kod, który działa! Zaczniesz od zrozumienia podstawowych koncepcji programistycznych, następnie nauczysz się zapewniać programom interaktywność i wykształcis...(0,00 zł najniższa cena z 30 dni)
59.40 zł
99.00 zł(-40%) -
W tej książce omówiono techniki wdrażania systemów na platformie AWS i zasady zarządzania nimi. Zaprezentowano podstawy korzystania z usługi Identity and Access Management oraz narzędzia sieciowe i monitorujące chmury AWS. Poruszono tematy Virtual Private Cloud, Elastic Compute Cloud, równoważeni...
AWS dla administratorów systemów. Tworzenie i utrzymywanie niezawodnych aplikacji chmurowych AWS dla administratorów systemów. Tworzenie i utrzymywanie niezawodnych aplikacji chmurowych
(0,00 zł najniższa cena z 30 dni)47.40 zł
79.00 zł(-40%) -
To kompleksowy podręcznik do nauki programowania w Pythonie. Jego piąte wydanie zostało gruntownie zaktualizowane i rozbudowane o dodatkowe treści. Omówiono tu najnowsze wersje Pythona w liniach 3.X i 2.X, czyli 3.3 i 2.7, i dodano opisy nowych lub rozszerzonych mechanizmów, takich jak obsługa fo...(0,00 zł najniższa cena z 30 dni)
119.40 zł
199.00 zł(-40%) -
Metody statystyczne są kluczowym elementem data science, mimo to niewielu specjalistów data science posiada formalne wykształcenie statystyczne. Kursy i podręczniki o podstawach statystyki, rzadko kiedy omawiają temat z perspektywy data science. W drugim wydaniu tego popularnego podręcznika zosta...
Statystyka praktyczna w data science. 50 kluczowych zagadnień w językach R i Python. Wydanie II Statystyka praktyczna w data science. 50 kluczowych zagadnień w językach R i Python. Wydanie II
(0,00 zł najniższa cena z 30 dni)41.40 zł
69.00 zł(-40%) -
To drugie wydanie bestsellerowego przewodnika po technikach uczenia maszynowego. Wystarczą minimalne umiejętności programistyczne, aby dzięki tej książce nauczyć się budowania i trenowania głębokiej sieci neuronowej. Zawarto tu minimum teorii, a proces nauki jest ułatwiony przez liczne przykłady ...
Uczenie maszynowe z użyciem Scikit-Learn i TensorFlow. Wydanie II Uczenie maszynowe z użyciem Scikit-Learn i TensorFlow. Wydanie II
(0,00 zł najniższa cena z 30 dni)77.40 zł
129.00 zł(-40%) -
Lektura tej książki ułatwi Ci pozbycie się obaw przed biblioteką asyncio. Zrozumiesz jej podstawowe elementy, co pozwoli Ci na rozpoczęcie programowania sterowanego zdarzeniami i prostą obsługę tysięcy jednoczesnych połączeń sieciowych. Dowiesz się, dlaczego Asyncio stanowi bezpieczniejszą altern...(0,00 zł najniższa cena z 30 dni)
23.94 zł
39.90 zł(-40%) -
Ta książka jest zwięzłym, skupionym na praktyce przewodnikiem po Pythonie w wersji 3.6 i nowszych. Dzięki niej skoncentrujesz się na rdzeniu języka i podstawowych zagadnieniach, które musisz doskonale opanować, jeśli chcesz pisać w nim dobry kod. Dowiesz się zatem, jak działa Python i jakich zasa...(0,00 zł najniższa cena z 30 dni)
41.40 zł
69.00 zł(-40%) -
Ta książka jest drugim wydaniem nietypowego podręcznika programowania w Pythonie. Dzięki niej nie zostaniesz mistrzem świata w kodowaniu, za to nauczysz się tworzyć programy, które oszczędzą Ci mnóstwo czasu i wysiłku. Nawet jeśli nigdy nie programowałeś, błyskawicznie opanujesz podstawy i zapozn...
Automatyzacja nudnych zadań z Pythonem. Nauka programowania. Wydanie II Automatyzacja nudnych zadań z Pythonem. Nauka programowania. Wydanie II
(0,00 zł najniższa cena z 30 dni)65.40 zł
109.00 zł(-40%) -
Oto intuicyjny przewodnik dla średnio zaawansowanych programistów Pythona, pomyślany tak, by przyswajać zasady programowania zorientowanego obiektowo podczas praktycznych ćwiczeń. Dowiesz się, jakie problemy wiążą się z zastosowaniem podejścia proceduralnego i jak dzięki podejściu obiektowemu pis...
Python zorientowany obiektowo. Programowanie gier i graficznych interfejsów użytkownika Python zorientowany obiektowo. Programowanie gier i graficznych interfejsów użytkownika
(0,00 zł najniższa cena z 30 dni)53.40 zł
89.00 zł(-40%) -
Dzięki tej książce przekonasz się, jak wspaniałą przygodą jest programowanie i jak łatwo ją zacząć! Poznasz podstawy Pythona, dowiesz się, jak pisać i formatować kod, a także szybko nauczysz się uruchamiać swoje programy. Instrukcje sterujące, operatory, typy danych, funkcje, klasy i moduły nie b...
Python 3. Projekty dla początkujących i pasjonatów Python 3. Projekty dla początkujących i pasjonatów
(0,00 zł najniższa cena z 30 dni)35.94 zł
59.90 zł(-40%)
O autorach książki
2 Steven F. Lott, Dusty PhillipsSteven F. Lott ma blisko pięćdziesiąt lat doświadczenia w programowaniu — kiedy rozpoczynał przygodę z kodem, komputery były duże, drogie i rzadkie. Od ponad dziesięciu lat używa Pythona do rozwiązywania problemów biznesowych; napisał kilka cenionych książek o tym języku. Obecnie jest technomadą . Mieszka na wschodnim wybrzeżu USA.
Dusty Phillips jest kanadyjskim programistą i autorem książek o programowaniu. Pracował dla rządów, startupów i sieci społecznościowych. Obecnie zajmuje się pisaniem powieści fantastycznych.
Steven F. Lott, Dusty Phillips - pozostałe książki
-
A comprehensive guide to exploring modern Python through data structures, design patterns, and effective object-oriented techniquesKey FeaturesBuild an intuitive understanding of object-oriented design, from introductory to mature programsLearn the ins and outs of Python syntax, libraries, and be...
-
Complete recipes spread across 15 chapters to help you overcome commonly faced issues by Python for everybody across the globe. Each recipe takes a problem-solution approach to resolve for effective Python.
-
Gain comprehensive insights into programming practices, and code portability and reuse to build flexible and maintainable apps using object-oriented principles
-
To znakomity podręcznik dla programistów, którzy chcą wykorzystać techniki i wzorce projektowe z funkcyjnych języków programowania, aby tworzyć w Pythonie zwięzłe, eleganckie i ekspresyjne programy — z czytelnym i łatwym w utrzymaniu kodem. Zawiera ogólny przegląd koncepcji funkcyjnych oraz...(33.50 zł najniższa cena z 30 dni)
33.50 zł
67.00 zł(-50%) -
Harness the power of Python objects and data structures to implement algorithms for analyzing your data and efficiently extracting information
-
Uncover modern Python with this guide to Python data structures, design patterns, and effective object-oriented techniques
Python 3 Object-Oriented Programming - Third Edition Python 3 Object-Oriented Programming - Third Edition
-
Test your Python programming skills by solving real-world problems Key Features Access built-in documentation tools and improve your code. Discover how to make the best use of decorator and generator functions Enhance speed and improve concurrency by conjuring tricks from the PyPy project Boo...
-
Create succinct and expressive implementations with functional programming in Python Key Features Learn how to choose between imperative and functional approaches based on expressiveness, clarity, and performance Get familiar with complex concepts such as monads, concurrency, and immutability...
-
Ensure your code is sleek, efficient and elegant by mastering powerful Python design patterns
-
If you feel it,Äôs time you learned object-oriented programming techniques, this is the perfect book for you. Clearly written with practical exercises, it,Äôs the painless way to learn how to harness the power of OOP in Python.
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video zobaczysz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły książki
- Tytuł oryginału:
- Python Object-Oriented Programming - Fourth Edition
- ISBN Ebooka:
- 978-18-010-7523-7, 9781801075237
- Data wydania ebooka:
-
2021-07-02
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@helion.pl.
- Język publikacji:
- angielski
- Rozmiar pliku Pdf:
- 5.9MB
- Rozmiar pliku ePub:
- 8.7MB
- Kategorie:
Programowanie » Python - Programowanie
Spis treści książki
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Get in touch
- Object-Oriented Design
- Introducing object-oriented
- Objects and classes
- Specifying attributes and behaviors
- Data describes object state
- Behaviors are actions
- Hiding details and creating the public interface
- Composition
- Inheritance
- Inheritance provides abstraction
- Multiple inheritance
- Case study
- Introduction and problem overview
- Context view
- Logical view
- Process view
- Development view
- Physical view
- Conclusion
- Recall
- Exercises
- Summary
- Objects in Python
- Introducing type hints
- Type checking
- Introducing type hints
- Creating Python classes
- Adding attributes
- Making it do something
- Talking to yourself
- More arguments
- Initializing the object
- Type hints and defaults
- Explaining yourself with docstrings
- Modules and packages
- Organizing modules
- Absolute imports
- Relative imports
- Packages as a whole
- Organizing modules
- Organizing our code in modules
- Who can access my data?
- Third-party libraries
- Case study
- Logical view
- Samples and their states
- Sample state transitions
- Class responsibilities
- The TrainingData class
- Recall
- Exercises
- Summary
- When Objects Are Alike
- Basic inheritance
- Extending built-ins
- Overriding and super
- Basic inheritance
- Multiple inheritance
- The diamond problem
- Different sets of arguments
- Polymorphism
- Case study
- Logical view
- Another distance
- Recall
- Exercises
- Summary
- Expecting the Unexpected
- Raising exceptions
- Raising an exception
- The effects of an exception
- Handling exceptions
- The exception hierarchy
- Defining our own exceptions
- Exceptions arent exceptional
- Raising exceptions
- Case study
- Context view
- Processing view
- What can go wrong?
- Bad behavior
- Creating samples from CSV files
- Validating enumerated values
- Reading CSV files
- Don't repeat yourself
- Recall
- Exercises
- Summary
- When to Use Object-Oriented Programming
- Treat objects as objects
- Adding behaviors 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
- Input validation
- Input partitioning
- The sample class hierarchy
- The purpose enumeration
- Property setters
- Repeated if statements
- Recall
- Exercises
- Summary
- Abstract Base Classes and Operator Overloading
- Creating an abstract base class
- The ABCs of collections
- Abstract base classes and type hints
- The collections.abc module
- Creating your own abstract base class
- Demystifying the magic
- Creating an abstract base class
- Operator overloading
- Extending built-ins
- Metaclasses
- Case study
- Extending the list class with two sublists
- A shuffling strategy for partitioning
- An incremental strategy for partitioning
- Recall
- Exercises
- Summary
- Python Data Structures
- Empty objects
- Tuples and named tuples
- Named tuples via typing.NamedTuple
- Dataclasses
- Dictionaries
- Dictionary use cases
- Using defaultdict
- Counter
- Lists
- Sorting lists
- Sets
- Three types of queues
- Case study
- Logical model
- Frozen dataclasses
- NamedTuple classes
- Conclusion
- Recall
- Exercises
- Summary
- The Intersection of Object-Oriented and Functional Programming
- Python built-in functions
- The len() function
- The reversed() function
- The enumerate() function
- Python built-in functions
- An alternative to method overloading
- Default values for parameters
- Additional details on defaults
- Default values for parameters
- Variable argument lists
- Unpacking arguments
- Functions are objects, too
- Function objects and callbacks
- Using functions to patch a class
- Callable objects
- File I/O
- Placing it in context
- Case study
- Processing overview
- Splitting the data
- Rethinking classification
- The partition() function
- One-pass partitioning
- Recall
- Exercises
- Summary
- Strings, Serialization, and File Paths
- Strings
- String manipulation
- String formatting
- Escaping braces
- f-strings can contain Python code
- Making it look right
- Custom formatters
- The format() method
- Strings are Unicode
- Decoding bytes to text
- Encoding text to bytes
- Mutable byte strings
- Strings
- Regular expressions
- Matching patterns
- Matching a selection of characters
- Escaping characters
- Repeating patterns of characters
- Grouping patterns together
- Matching patterns
- Parsing information with regular expressions
- Other features of the re module
- Making regular expressions efficient
- Filesystem paths
- Serializing objects
- Customizing pickles
- Serializing objects using JSON
- Case study
- CSV format designs
- CSV dictionary reader
- CSV list reader
- JSON serialization
- Newline-delimited JSON
- JSON validation
- Recall
- Exercises
- Summary
- The Iterator Pattern
- Design patterns in brief
- Iterators
- The iterator protocol
- Comprehensions
- List comprehensions
- Set and dictionary comprehensions
- Generator expressions
- Generator functions
- Yield items from another iterable
- Generator stacks
- Case study
- The Set Builder background
- Multiple partitions
- Testing
- The essential k-NN algorithm
- k-NN using the bisect module
- k-NN using the heapq module
- Conclusion
- Recall
- Exercises
- Summary
- Common Design Patterns
- The Decorator pattern
- A Decorator example
- Decorators in Python
- The Decorator pattern
- The Observer pattern
- An Observer example
- The Strategy pattern
- A Strategy example
- Strategy in Python
- The Command pattern
- A Command example
- The State pattern
- A State example
- State versus Strategy
- The Singleton pattern
- Singleton implementation
- Case study
- Recall
- Exercises
- Summary
- Advanced Design Patterns
- The Adapter pattern
- An Adapter example
- The Adapter pattern
- The Façade pattern
- A Façade example
- The Flyweight pattern
- A Flyweight example in Python
- Multiple messages in a buffer
- Memory optimization via Python's __slots__
- The Abstract Factory pattern
- An Abstract Factory example
- Abstract Factories in Python
- The Composite pattern
- A Composite example
- The Template pattern
- A Template example
- Case study
- Recall
- Exercises
- Summary
- Testing Object-Oriented Programs
- Why test?
- Test-driven development
- Testing objectives
- Testing patterns
- Why test?
- Unit testing with unittest
- Unit testing with pytest
- pytest's setup and teardown functions
- pytest fixtures for setup and teardown
- More sophisticated fixtures
- Skipping tests with pytest
- Imitating objects using Mocks
- Additional patching techniques
- The sentinel object
- How much testing is enough?
- Testing and development
- Case study
- Unit testing the distance classes
- Unit testing the Hyperparameter class
- Recall
- Exercises
- Summary
- Concurrency
- Background on concurrent processing
- Threads
- The many problems with threads
- Shared memory
- The global interpreter lock
- Thread overhead
- The many problems with threads
- Multiprocessing
- Multiprocessing pools
- Queues
- The problems with multiprocessing
- Futures
- AsyncIO
- AsyncIO in action
- Reading an AsyncIO future
- AsyncIO for networking
- Design considerations
- A log writing demonstration
- AsyncIO clients
- The dining philosophers benchmark
- Case study
- Recall
- Exercises
- Summary
- Other Books You May Enjoy
- Index
Packt Publishing - inne książki
-
Save time and effort when building 3D scenes with this essential guide to creating stunning photorealistic 3D environments in Blender
-
Solve classic computer science problems from fundamental algorithms, such as sorting and searching, to modern algorithms in machine learning and cryptography
40 Algorithms Every Programmer Should Know - Second Edition 40 Algorithms Every Programmer Should Know - Second Edition
-
Use modern Python libraries such as pandas, NumPy, and scikit-learn and popular machine learning and deep learning methods to solve financial modeling problems
-
Design, build, and deploy performant and maintainable web applications using Spring, Spring Boot, and Angular
-
Get up to speed with Oracle's Autonomous Databases and implementation strategies for any workload or use case, including transactional, data warehousing, and non-relational databases
Oracle Autonomous Database in Enterprise Architecture Oracle Autonomous Database in Enterprise Architecture
-
Build CD pipelines following GitOps principles like declarative and immutable changes stored in version control, all continuously reconciled by Argo CD, and minimize the failure of deployments.
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
W przypadku usługi "Druk na żądanie" termin dostarczenia przesyłki może obejmować także czas potrzebny na dodruk (do 10 dni roboczych)
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.


Oceny i opinie klientów: Python Object-Oriented Programming - Fourth Edition Steven F. Lott, Dusty Phillips (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.