Import It All
Books > Computers & Technology > Programming > Software Design, Testing & Engineering > Object-Oriented Design
Mastering Object-oriented Python

Mastering Object-oriented Python

Product ID: 974184 Condition: New

Payflex: Pay in 4 interest-free payments of R292.25. Learn more
R 1,169
includes Duties & VAT
Delivery: 10-20 working days
Ships from USA warehouse.
Secure Transaction
VISA Mastercard payflex ozow

Product Description

Mastering Object-oriented Python

<p>For those who know the basics of object-oriented Python this book is a must-have. With 750 code samples and a relaxed tutorial approach, it€s the seamless route to more sophisticated programming.</p> <p><b>Overview</b></p> <ul> <li>Create applications with flexible logging, powerful configuration and command-line options, automated unit tests, and good documentation.</li> <li>Use the Python special methods to integrate seamlessly with built-in features and the standard library</li> <li>Design classes to support object persistence in JSON, YAML, Pickle, CSV, XML, Shelve, and SQL</li> </ul> <p><b>In Detail</b></p> <p>This practical example-oriented guide will teach you advanced concepts of object-oriented programming in Python. This book will present detailed examples of almost all of the special method names that support creating classes that integrate seamlessly with Python's built-in features. It will show you how to use JSON, YAML, Pickle, CSV, XML, Shelve, and SQL to create persistent objects and transmit objects between processes. The book also covers logging, warnings, unit testing, configuration files, and how to work with the command line.</p> <p>This book is broken into three major parts: Pythonic Classes via Special Methods; Persistence and Serialization; Testing, Debugging, Deploying, and Maintaining. The special methods are broken down into several focus areas: initialization, basics, attribute access, callables, contexts, containers, collections, numbers, and more advanced techniques such as decorators and mixin classes.</p> <p><b>What you will learn from this book</b></p> <ul> <li>Understand the different design patterns for the __init__() method</li> <li>Discover the essential features of Python 3's abstract base classes and how you can use them for your own applications</li> <li>Design callable objects and context managers that leverage the with statement</li> <li>Perform object serialization in formats such as JSON, YAML, Pickle, CSV, and XML</li> <li>Employ the Shelve module as a sophisticated local database</li> <li>Map Python objects to a SQL database using the built-in SQLite module</li> <li>Transmit Python objects via RESTful web services</li> <li>Devise strategies for automated unit testing, including how to use the doctest and the unittest.mock module</li> <li>Parse command-line arguments and integrate this with configuration files and environment variables</li> </ul> <p><b>Approach</b></p> <p>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.</p>

Technical Specifications

Country
USA
Brand
Packt Publishing
Manufacturer
Packt Publishing
Binding
Paperback
ItemPartNumber
black & white illustrations
ReleaseDate
2014-04-22T00:00:01Z
UnitCount
1
EANs
9781783280971

You might also like

Back to top