Mastering Object-oriented Python
Language: English
Published by Packt Publishing, 2014
- Softcover
- Used

Seller: Bay State Book Company, North Smithfield, RI, U.S.A.Bay State Book Company
AbeBooks seller since January 23, 2023
Condition: Used - Good
US$ 10.36
Quantity: 1 available
Add to basketItem description from seller
The book is in good condition with all pages and cover intact, including the dust jacket if originally issued. The spine may show light wear. Pages may contain some notes or highlighting, and there might be a "From the library of" label. Boxed set packaging, shrink wrap, or included media like CDs may be missing.
Seller Inventory # BSM.19IEC
- Title
- Mastering Object-oriented Python
- Author
- Lott, Steven
- Publisher
- Packt Publishing
- Publication year
- 2014
- Condition
- good
- Binding
- Soft cover
- Language
- English
- ISBN 10
- 1783280972
- ISBN 13
- 9781783280971
Key Features
- Create applications with flexible logging, powerful configuration and command-line options, automated unit tests, and good documentation
- Use the Python special methods to integrate seamlessly with built-in features and the standard library
- Design classes to support object persistence in JSON, YAML, Pickle, CSV, XML, Shelve, and SQL
Book Description
An object-oriented approach to Python web development gives you a much more fully-realised experience of the language. The flexibility and power of Python, combined with the improvements in design, coding and software maintenance that object-oriented programming allows, is built to respond to the challenges of increasingly more complex and data-intensive application development, making difficult tasks much more manageable. This book has been designed to make this sophisticated approach to programming easier to learn quickly, providing you with a clear and coherent learning journey.
Beginning by looking at a range of design patterns for the _init_() method, you will learn how to effectively use a range of Python’s special methods to create classes that integrate with Python’s built-in features, and find detailed explorations and demonstrations of callables and contexts, containers and collections, numbers, and decorators and mixins, with a focus on best practices for effective and successful design. The book also features information that demonstrates how to create persistent objects using JSON, YAML, Pickle, CSV, XML, Shelve and SQL and shows you how to transmit objects between processes. Going further into OOP, you’ll find expert information on logging, warnings, unit testing as well as working with the command line.
Structured in 3 parts to make the complexity of OOP more manageable - Pythonic Classes via Special Methods, Persistence and Serialization and Testing, Debugging, Deploying, and Maintaining - this book offers deep insight into OOP that will help you develop expert level object-oriented Python skills.
What you will learn
- Create applications with flexible logging, powerful configuration and command-line options, automated unit tests, and good documentation
- Get to grips with different design patterns for the __init__() method
- Design callable objects and context managers
- Perform object serialization in formats such as JSON, YAML, Pickle, CSV, and XML
- Map Python objects to a SQL database using the built-in SQLite module
- Transmit Python objects via RESTful web services
- Devise strategies for automated unit testing, including how to use the doctest and the unittest.mock module
- Parse command-line arguments and integrate this with configuration files and environment variables
Table of Contents
- The _init_() Method
- Integrating Seamlessly with Basic Python Special Methods
- Attribute Access, Properties, and Descriptors
- The ABCs of Consistent Design
- Using Callables and Contexts
- Creating Contrainers and Collections
- Creating Numbers
- Decorators and Mixins: Cross-Cutting Aspects
- Serializing and Saving - JSON, YAML, Pickle, CSV, and XML
- Storing and Retrieving Objects via Shelve
- Storing and Retrieving Objects via SQLite
- Transmitting and Sharing Objects
- Configuration Files and Persistence
- The Logging and Warning Modules
- Designing for Testability
- Coping with the Command Line
- The Module and Package Design
- Quality and Documentation
"Synopsis" may belong to another edition of this title.
About the Author
Steven F. Lott
Steven F. Lott has been programming since the 70s, when computers were large, expensive, and rare. As a contract software developer and architect, he has worked on hundreds of projects from very small to very large. He's been using Python to solve business problems for over 10 years.
Steven is currently a technomad who lives in various places on the east coast of the US.
"About the title" may belong to another edition of this title.
Bay State Book Company
North Smithfield, RI, U.S.A.
AbeBooks seller since January 23, 2023
Shipping rates within U.S.A.
| Item | 4 to 11 business days | 4 to 10 business days |
|---|---|---|
| First item | US$ 0.00 | US$ 6.00 |
Payment methods
Store description
We are a local book store that specializes in used books. Our delivery is quick. Same day shipping most of the time and most books arrive within 5 days or ordering.
Specialty
History, fiction, children's booksSeller's business information
Bay State Book Company LLC
473 saint paul st, suite 1 (Bay State Books)
North Smithfield, RI U.S.A. 02896