objects in pythondiscusses classes and objects and how they are used in python we will learn about attributes and behaviors on python objectsand also the organization of classes into packages and modules lastlywe will see how to protect our data when objects are alikegives us more in-depth look into inheritance it covers multiple inheritance and shows us how to extend built-ins this also covers how polymorphism and duck typing work in python expecting the unexpectedlooks into exceptions and exception handling we will learn how to create our own exceptions and how to use exceptions for program flow control when to use object-oriented programmingdeals with creating and using objects we will see how to wrap data using properties and restrict data access this also discusses the dry principle and how not to repeat code python data structurescovers the object-oriented features of python' built-in classes we'll cover tuplesdictionarieslistsand setsas well as few more advanced collections we'll also see how to extend these standard objects python object-oriented shortcutsas the name suggestsdeals with time-savers in python we will look at many useful built-in functions such as method overloading using default arguments we'll also see that functions themselves are objects and how this is useful strings and serializationlooks at stringsfilesand formatting we'll discuss the difference between stringsbytesand bytearraysas well as various ways to serialize textualobjectand binary data to several canonical representations the iterator patternintroduces us to the concept of design patterns and covers python' iconic implementation of the iterator pattern we'll learn about listsetand dictionary comprehensions we'll also demystify generators and coroutines python design patterns icovers several design patternsincluding the decoratorobserverstrategystatesingletonand template patterns each pattern is discussed with suitable examples and programs implemented in python python design patterns iiwraps up our discussion of design patterns with coverage of the adapterfacadeflyweightcommandabstractand composite patterns more examples of how idiomatic python code differs from canonical implementations are provided viii