Cover of Mastering Object-oriented Python

PDF · English

Mastering Object-oriented Python

If you want to master object-oriented Python programming this book is a must-have. With 750 code samples and a relaxed tutorial, it''s a seamless route to programming Python.

Price and availability

$41.99

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Stores: US, UK, Canada, EU, Australia.

Sign in to buy

The price is re-checked by the server before payment.

For personal use under the eBook licence.

Format
PDF
DRM
Not stated by the publisher
Language
English
Publisher
Packt Publishing
Published
22 April 2014
ISBN
9781783280988
Subjects
Computer programming / software development, Object-oriented programming (OOP), Programming & scripting languages: general, Computer programming / software engineering, Object-oriented programming (OOP), Programming and scripting languages: general

About this book

Key FeaturesBook DescriptionThis 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 learnCreate applications with flexible logging, powerful configuration and commandline options, automated unit tests, and good documentationGet to grips with different design patterns for the __init__() methodDesign callable objects and context managersPerform object serialization in formats such as JSON, YAML, Pickle, CSV, and XMLMap Python objects to a SQL database using the builtin SQLite moduleTransmit Python objects via RESTful web servicesDevise strategies for automated unit testing, including how to use the doctest and the unittest.mock moduleParse commandline arguments and integrate this with configuration files and environment variablesWho this book is for]]>

Bibliographic data © Gardners Books Ltd.