您好,欢迎光临本网站![请登录][注册会员]  
文件名称: Mastering Object-oriented Python
  所属分类: Python
  开发工具:
  文件大小: 3mb
  下载次数: 0
  上传时间: 2015-01-21
  提 供 者: u0114*****
 详细说明: Paperback: 634 pages Publisher: Packt Publishing - ebooks Account (April 22, 2014) Language: English 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. Overview 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 st andard library Design classes to support object persistence in JSON, YAML, Pickle, CSV, XML, Shelve, and SQL 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 from this book 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 Approach 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. ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: Mastering Python
 输入关键字,在本站1000多万海量源码库中尽情搜索: