Buy new:
$43.61$43.61
Arrives:
Friday, May 12
Ships from: Amazon Sold by: bestbazaarusa
Buy used: $14.81
Other Sellers on Amazon
+ $13.15 shipping
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required. Learn more
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Python 3 Object-oriented Programming: Building robust and maintainable software with object oriented design patterns in Python, 2nd Edition 2nd Edition
| Price | New from | Used from |
- Kindle
$31.72 Read with Our Free App - Paperback
$14.81 - $43.619 Used from $10.83 11 New from $43.61
There is a newer edition of this item:
Purchase options and add-ons
Rethink Python programming with this guide to Python data structures, design patterns and effective object oriented techniques, to uncover a truly modern Python
Key Features
- Stop writing scripts and start architecting programs
- Learn the latest Python syntax and libraries
- A practical, hands-on tutorial that teaches you all about abstract design patterns and how to implement them in Python 3
Book Description
Python 3 is more versatile and easier to use than ever. It runs on all major platforms in a huge array of use cases. Coding in Python minimizes development time and increases productivity in comparison to other languages. Clean, maintainable code is easy to both read and write using Python's clear, concise syntax.
Object-oriented programming is a popular design paradigm in which data and behaviors are encapsulated in such a way that they can be manipulated together. Many modern programming languages utilize the powerful concepts behind object-oriented programming and Python is no exception.
Starting with a detailed analysis of object-oriented analysis and design, you will use the Python programming language to clearly grasp key concepts from the object-oriented paradigm. This book fully explains classes, data encapsulation, inheritance, polymorphism, abstraction, and exceptions with an emphasis on when you can use each principle to develop well-designed software.
You'll get an in-depth analysis of many common object-oriented design patterns that are more suitable to Python's unique style. This book will not just teach Python syntax, but will also build your confidence in how to program.
You will also learn how to create maintainable applications by studying higher level design patterns. Following this, you'll learn the complexities of string and file manipulation, and how Python distinguishes between binary and textual data. Not one, but two very powerful automated testing systems will be introduced in the book. After you discover the joy of unit testing and just how easy it can be, you'll study higher level libraries such as database connectors and GUI toolkits and learn how they uniquely apply object-oriented principles. You'll learn how these principles will allow you to make greater use of key members of the Python eco-system such as Django and Kivy
What You Will Learn
- Implement objects in Python by creating classes and defining methods
- Separate related objects into a taxonomy of classes and describe the properties and behaviors of those objects via the class interface
- Extend class functionality using inheritance
- Understand when to use object-oriented features, and more importantly when not to use them
- Discover what design patterns are and why they are different in Python
- Uncover the simplicity of unit testing and why it's so important in Python
- Grasp common concurrency techniques and pitfalls in Python 3
- Exploit object-oriented programming in key Python technologies such as Kivy and Django.
- Object-oriented programming concurrently with asyncio
Table of Contents
- Object-oriented Design
- Objects in Python
- When Objects Are Alike
- Expecting the Unexpected
- When to Use Object-oriented Programming
- Python Data Structures
- Python Object-oriented Shortcuts
- Strings and Serialization
- The Iterator Pattern
- Python Design Patterns I
- Python Design Patterns II
- Testing Object-oriented Programs
- Concurrency
- ISBN-101784398780
- ISBN-13978-1784398781
- Edition2nd
- PublisherPackt Publishing
- Publication dateAugust 20, 2015
- LanguageEnglish
- Dimensions7.5 x 1.04 x 9.25 inches
- Print length460 pages
Products related to this item
Editorial Reviews
About the Author
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. Python 3 Object Oriented Programming, Packt Publishing, was the first of his books. He has also written Creating Apps In Kivy, O'Reilly, the mobile Python library, and self-published Hacking Happy, a journey to mental wellness for the technically inclined. He was hospitalized for suicidal tendencies shortly after the first edition of this book was published and has been an outspoken proponent for positive mental health ever since.
Product details
- Publisher : Packt Publishing; 2nd edition (August 20, 2015)
- Language : English
- Paperback : 460 pages
- ISBN-10 : 1784398780
- ISBN-13 : 978-1784398781
- Item Weight : 1.73 pounds
- Dimensions : 7.5 x 1.04 x 9.25 inches
- Best Sellers Rank: #1,997,452 in Books (See Top 100 in Books)
- #143 in Object-Oriented Software Design
- #1,087 in Object-Oriented Design
- #1,980 in Python Programming
- Customer Reviews:
About the author

Dusty Phillips is a Canadian author and programmer. He holds a master's degree in computer science emphasizing human computer interaction. He's been toying with programming ever since accidentally inserting a comma into a Q-BASIC program (NIBBLES.BAS) and eventually debugging it so he could continue playing his favourite game. Today he's got more Python interpreters on his laptop than he can count and is constantly experimenting with new technologies.
Products related to this item
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
The book is really well written. No trivial things. All the key points are elaborated naturally and are making a lot of sense.
Examples keep changing
This book feels like it is really more about an author who wanted to indulge in a writing assignment rather than conveying technical information in an easily digestible way" -- the 1 star review for previous edition
it is worse in 2nd edition
i believe that all the 4/5 star review is from the author's friends, or publisher
i found no good example/analog in this book, none, 0, nothing
below i'll mimic the author's writing style
yes, this is book review, but before i start my review, let's look at how i write review. if you read this review, of course you are, however, well, if you already know how i write this review which is by typing on my desktop computer on my daily working desk (by the way, look, i'm so cute ), that you already know what review is, and you already know review is important. i write review by press keyboard on my computer, which is a Mac with latest OS X.
reading a book is just like driving a car, you turn the wheel (page) and keep turning, until you finally there (the last page), i know this is bad example, but look, it is a example!
ok, in previous section, i give you an idea about how i write review, now you already know how i write my review which is about the Python 3 Object-Oriented Programming - Second edition, in this book, Python 3 Object-Oriented Programming - Second edition, the author use bad example with poorly explained what OOP is, and some for unlawful carnal knowledge, actually try to offend everyone and give you very bad impression about python. in short, my review, well, of course, this is my personal opinion, you may say WTF, IDKAIDC, simply put, is worthless.
Top reviews from other countries
I would rate it 5 stars, but I'm docking one for the kindle implementation. Sadly like so many code books, the kindle version isn't up to the challenge. As I say, not unique to this book, but white space and layout are crucial to python, and having the author's careful layout messed up by a lazy publisher really lets it down. I must admit my patience for this has run out. Clearly the publishers use an automated conversion process from the original manuscript and then don't proof read it. It's sad but those pirated scans of books in PDF actually put more effort in. E-books must be a cash cow for publishers as they don't actually have to print the book, just upload a file and collect the money, but here, again, they don't seem to have put the same effort into publishing the kindle version as the text version.
Speaking of the text version, it really is excellent. The intro says this book would suit all switching to python3 regardless of experience, but I think really you'll get the most out of it if you have just finished some intro to python and want to go further. If you are proficient in OOP in another language or a seasoned Python 2 developer, the simplistic language style that makes this book so marvellous to the uninitiated may well drive you round the bend on your search for the answers, but for those still learning afresh, the examples are clear and the analogies very strong.
A great wealth of pythonic information is covered very easily, including design patters, which was a nice bonus. I truly recommend this book to the intermediate python programmer who has just got comfortable with the basics and is looking to take the next steps. Not a beginners text however.
Coming as an amateur programmer doing a university course where you are taught all about OOP/OOD in the context of the language Java, then moving on to solving problems using algorithms and the language Python! ( yes Open University YOU). The courses say no programming required! Instead I found myself with several Python beginners books, and half decent understanding of OOP in Java, and still NO idea of how Python implements an OOD!
In steps DUSTY PHILIPS. Mild mannered janitor by Day and super kung foo HONG-KONG Fooey super hero at all other times! < reference awesome cartoon>. This book is not for the beginner but if you can program using simple solutions and the odd function call or three, then this book gets you into the lingo of Object Oriented Programming easily and steadily.
Plus the support on the PACKT Publishing web site is a resource never to be missed.
THANK YOU DUSTY, THANK YOU PACKT PUBLISHING..
Paul C.....( Wine bottle < sub-class of Bottle> is filled with wine <sub-class of alcoholic beverage>. Empty wine glass < sub-class of Glass> needs to be filled < sub-class of actions> with part <sub-class of measures> of the contents of the wine bottle......> repeat several times all will be clear.
Reviewed in the United Kingdom 🇬🇧 on August 28, 2018
Coming as an amateur programmer doing a university course where you are taught all about OOP/OOD in the context of the language Java, then moving on to solving problems using algorithms and the language Python! ( yes Open University YOU). The courses say no programming required! Instead I found myself with several Python beginners books, and half decent understanding of OOP in Java, and still NO idea of how Python implements an OOD!
In steps DUSTY PHILIPS. Mild mannered janitor by Day and super kung foo HONG-KONG Fooey super hero at all other times! < reference awesome cartoon>. This book is not for the beginner but if you can program using simple solutions and the odd function call or three, then this book gets you into the lingo of Object Oriented Programming easily and steadily.
Plus the support on the PACKT Publishing web site is a resource never to be missed.
THANK YOU DUSTY, THANK YOU PACKT PUBLISHING..
Paul C.....( Wine bottle < sub-class of Bottle> is filled with wine <sub-class of alcoholic beverage>. Empty wine glass < sub-class of Glass> needs to be filled < sub-class of actions> with part <sub-class of measures> of the contents of the wine bottle......> repeat several times all will be clear.
So, you may have to flick past some parts, but there is enough meat and substance in this book to make it worth buying.
