Amazon cover image
Image from Amazon.com

Python 3 object-oriented programming : unleash the power of Python 3 objects / Dusty Phillips.

By: Material type: TextTextSeries: Community experience distilledPublisher: Birmingham : Packt Publishing, 2015Edition: Second editionDescription: 1 online resource : illustrationsContent type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781784395957
  • 1784395951
Subject(s): Genre/Form: Additional physical formats: Print version:: Python 3 Object-oriented Programming.DDC classification:
  • 005.1/17 23
LOC classification:
  • QA76.73.P98
Online resources:
Contents:
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Introduction tothe second edition; Table of Contents; Preface; Chapter 1: Object-oriented Design; Introducing object-oriented; Objects and classes; Specifying attributes and behaviors; Data describes objects; Behaviors are actions; Hiding details and creating the public interface; Composition; Inheritance; Inheritance provides abstraction; Multiple inheritance; Case study; Exercises; Summary; Chapter 2: Objects in Python; Creating Python classes; Adding attributes; Making it do something; Talking to yourself.
More argumentsInitializing the object; Explaining yourself; Modules and packages; Organizing the modules; Absolute imports; Relative imports; Organizing module contents; Who can access my data?; Third-party libraries; Case study; Exercises; Summary; Chapter 3: When Objects Are Alike; Basic inheritance; Extending built-ins; Overriding and super; Multiple inheritance; The diamond problem; Different sets of arguments; Polymorphism; Abstract base classes; Using an abstract base class; Creating an abstract base class; Demystifying the magic; Case study; Exercises; Summary.
Chapter 4: Expecting the UnexpectedRaising exceptions; Raising an exception; The effects of an exception; Handling exceptions; The Exception hierarchy; Defining our own exceptions; Case study; Exercises; Summary; Chapter 5: When to Use Object-oriented Programming; Treat objects as objects; Adding behavior to class data with properties; Properties in detail; Decorators -- another way to create properties; Deciding when to use properties; Manager objects; Removing duplicate code; In practice; Case study; Exercises; Summary; Chapter 6: Python Data Structures; Empty objects.
Tuples and named tuplesNamed tuples; Dictionaries; Dictionary use cases; Using defaultdict; Counter; Lists; Sorting lists; Sets; Extending built-ins; Queues; FIFO queues; LIFO queues; Priority queues; Case study; Exercises; Summary; Chapter 7: Python Object-oriented Shortcuts; Python built-in functions; The len() function; Reversed; Enumerate; File I/O; Placing it in context; An alternative to method overloading; Default arguments; Variable argument lists; Unpacking arguments; Functions are objects too; Using functions as attributes; Callable objects; Case study; Exercises; Summary.
Chapter 8: Strings and SerializationStrings; String manipulation; String formatting; Escaping braces; Keyword arguments; Container lookups; Object lookups; Making it look right; Strings are Unicode; Converting bytes to text; Converting text to bytes; Mutable byte strings; Regular expressions; Matching patterns; Matching a selection of characters; Escaping characters; Matching multiple characters; Grouping patterns together; Getting information from regular expressions; Making repeated regular expressions efficient; Serializing objects; Customizing pickles; Serializing web objects; Case study.
Summary: Python 3 is more versatile and easier to use than ever. It runs on all major platforms in a huge array of use cases. Coding in Python minimizes development time and increases productivity in comparison to other languages. Clean, maintainable code is easy to both read and write using Python's clear, concise syntax. Object-oriented programming is a popular design paradigm in which data and behaviors are encapsulated in such a way that they can be manipulated together. Many modern programming languages utilize the powerful concepts behind object-oriented programming and Python is no exception. Starting with a detailed analysis of object-oriented analysis and design, you will use the Python programming language to clearly grasp key concepts from the object-oriented paradigm. This book fully explains classes, data encapsulation, inheritance, polymorphism, abstraction, and exceptions with an emphasis on when you can use each principle to develop well-designed software.
Item type:
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
Holdings
Item type Home library Collection Call number Materials specified Status Date due Barcode
Electronic-Books Electronic-Books OPJGU Sonepat- Campus E-Books EBSCO Available

Online resource; title from PDF title page (EBSCO, viewed December 21, 2015).

Includes index.

Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Introduction tothe second edition; Table of Contents; Preface; Chapter 1: Object-oriented Design; Introducing object-oriented; Objects and classes; Specifying attributes and behaviors; Data describes objects; Behaviors are actions; Hiding details and creating the public interface; Composition; Inheritance; Inheritance provides abstraction; Multiple inheritance; Case study; Exercises; Summary; Chapter 2: Objects in Python; Creating Python classes; Adding attributes; Making it do something; Talking to yourself.

More argumentsInitializing the object; Explaining yourself; Modules and packages; Organizing the modules; Absolute imports; Relative imports; Organizing module contents; Who can access my data?; Third-party libraries; Case study; Exercises; Summary; Chapter 3: When Objects Are Alike; Basic inheritance; Extending built-ins; Overriding and super; Multiple inheritance; The diamond problem; Different sets of arguments; Polymorphism; Abstract base classes; Using an abstract base class; Creating an abstract base class; Demystifying the magic; Case study; Exercises; Summary.

Chapter 4: Expecting the UnexpectedRaising exceptions; Raising an exception; The effects of an exception; Handling exceptions; The Exception hierarchy; Defining our own exceptions; Case study; Exercises; Summary; Chapter 5: When to Use Object-oriented Programming; Treat objects as objects; Adding behavior to class data with properties; Properties in detail; Decorators -- another way to create properties; Deciding when to use properties; Manager objects; Removing duplicate code; In practice; Case study; Exercises; Summary; Chapter 6: Python Data Structures; Empty objects.

Tuples and named tuplesNamed tuples; Dictionaries; Dictionary use cases; Using defaultdict; Counter; Lists; Sorting lists; Sets; Extending built-ins; Queues; FIFO queues; LIFO queues; Priority queues; Case study; Exercises; Summary; Chapter 7: Python Object-oriented Shortcuts; Python built-in functions; The len() function; Reversed; Enumerate; File I/O; Placing it in context; An alternative to method overloading; Default arguments; Variable argument lists; Unpacking arguments; Functions are objects too; Using functions as attributes; Callable objects; Case study; Exercises; Summary.

Chapter 8: Strings and SerializationStrings; String manipulation; String formatting; Escaping braces; Keyword arguments; Container lookups; Object lookups; Making it look right; Strings are Unicode; Converting bytes to text; Converting text to bytes; Mutable byte strings; Regular expressions; Matching patterns; Matching a selection of characters; Escaping characters; Matching multiple characters; Grouping patterns together; Getting information from regular expressions; Making repeated regular expressions efficient; Serializing objects; Customizing pickles; Serializing web objects; Case study.

Python 3 is more versatile and easier to use than ever. It runs on all major platforms in a huge array of use cases. Coding in Python minimizes development time and increases productivity in comparison to other languages. Clean, maintainable code is easy to both read and write using Python's clear, concise syntax. Object-oriented programming is a popular design paradigm in which data and behaviors are encapsulated in such a way that they can be manipulated together. Many modern programming languages utilize the powerful concepts behind object-oriented programming and Python is no exception. Starting with a detailed analysis of object-oriented analysis and design, you will use the Python programming language to clearly grasp key concepts from the object-oriented paradigm. This book fully explains classes, data encapsulation, inheritance, polymorphism, abstraction, and exceptions with an emphasis on when you can use each principle to develop well-designed software.

eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - Worldwide

There are no comments on this title.

to post a comment.

O.P. Jindal Global University, Sonepat-Narela Road, Sonepat, Haryana (India) - 131001

Send your feedback to glus@jgu.edu.in

Hosted, Implemented & Customized by: BestBookBuddies   |   Maintained by: Global Library