English
Unordered
دسته بندی نشده
Mastering Object-oriented Python
Steven F. Lott
4.2 / 5
0 نظر
2014
سال انتشار
0 / 634
صفحه
94
بازدید
Grasp the intricacies of object-oriented programming in Python in order to efficiently build powerful real-world applicationsOverviewCreate applications with flexible logging, powerful configuration and command-line options, automated unit tests, and good documentation. Use the
درباره این کتاب
Grasp the intricacies of object-oriented programming in Python in order to efficiently build powerful real-world applicationsOverviewCreate 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 SQLIn DetailThis 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 from this bookUnderstand 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 variablesApproachThis 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.
از این کتاب بپرس
پرسشت با عنوان و نویسنده همین کتاب برای دستیار ارسال میشود. هر پاسخ ۲ امتیاز مصرف میکند.
وارد شوید تا بتوانید از دستیار کتاب بپرسید.
نظر خوانندگان
0 نظر · میانگین 4.2 از ۵
هنوز نظری ثبت نشده
اگر این کتاب را خواندهاید، تجربهتان را با دیگران به اشتراک بگذارید.
نظر خودت را بنویس
وارد شوید تا نظر خود را ثبت کنید.
پرسش و پاسخ خوانندگان
سؤال مشخص بپرس و از تجربه جامعه استفاده کن.
وارد شوید تا سؤال بپرسید یا پاسخ بدهید.
هنوز پرسشی ثبت نشده
اولین سؤال روشن و مفید را شما مطرح کنید.
بعد از این چه بخوانم؟
منابع مرتبط برای ادامه همین مسیر.
Biology of the Fungal Cell
Nicholas P. Money (auth.),Professor Dr. Richard J. Howard,Professor Dr. Neil A. R. Gow (eds.)
2001
مشاهدهٔ کتاب