Book guide and evaluation
Community expertise distilled
Lott, Steven F
English
Unordered
Unordered
4.9 / 5
0 reviews
2014
Published
634 / (1 v.) ill
pages
43
views
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. In Detail This practical example-oriented guide will teach you advanced concepts of
Before you read
What will you get from this book?
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. In Detail 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. 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. What You Will Learn Understand the different design patterns for the __init__() method Discover the essential features of Python 3's abstract base classes and how you can use them for your own applications Design callable objects and context managers that leverage the with statement Perform object serialization in formats such as JSON, YAML, Pickle, CSV, and XML Employ the Shelve module as a sophisticated local database 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.
Ask this book
Your question is answered in the context of this title and author. Each answer uses 2 points.
Sign in to ask the book assistant.
Reader reviews
0 reviews, 4.9 average out of 5
No reviews yet
If you have read this book, help the next reader with your experience.
Write a review
Sign in to publish a review.
Reader questions and answers
Ask a focused question and learn from the community.
Sign in to ask or answer a question.
No questions yet
Be the first to ask a clear, useful question.