Coursera
Coursera Logo

Python Classes and Inheritance 

  • Offered byCoursera

Python Classes and Inheritance
 at 
Coursera 
Overview

Duration

17 hours

Start from

Start Now

Total fee

Free

Mode of learning

Online

Difficulty level

Intermediate

Official Website

Explore Free Course External Link Icon

Credential

Certificate

Python Classes and Inheritance
 at 
Coursera 
Highlights

  • This Course Plus the Full Specialization.
  • Shareable Certificates.
  • Graded Programming Assignments.
Details Icon

Python Classes and Inheritance
 at 
Coursera 
Course details

Skills you will learn
More about this course
  • This course introduces classes, instances, and inheritance. You will learn how to use classes to represent data in concise and natural ways. You'll also learn how to override built-in methods and how to create "inherited" classes that reuse functionality. You'll also learn about how to design classes. Finally, you will be introduced to the good programming habit of writing automated tests for their own code.
  • The course is best-suited for you if you are already familiar with Python fundamentals, which are covered in the "Python Basics" and "Python Functions, Files, and Dictionaries" courses (courses 1 and 2 of the Python 3 Programming Specialization). It is optional to have taken the "Data Collection and Processing with Python" course (course 3 of the specialization), but knowledge of retrieving and processing complex nested data is helpful.
  • This is the fourth of five courses in the Python 3 Programming Specialization.
Read more

Python Classes and Inheritance
 at 
Coursera 
Curriculum

Classes

Introduction to the Specialization

Welcome to Python Classes and Inheritance

How to Use the Interactive Textbook

User-Defined Classes

Adding Parameters to the Constructor

Adding Other Methods to a Class

Instance Variable Search Order

Example: Creating Instances from Data

Converting an Object to a String

Special (dunderscore) Methods

Instances as Return Values

Sorting Lists of Instances

Class Variables and Instance Variables

Thinking About Classes and Instances

Syllabus

Help Us Learn More About You!

Introduction: Classes and Objects - The Basics

Objects Revisited

User Defined Classes

Adding Parameters to the Constructor

Adding Other Methods to a Class

Objects as Arguments and Parameters

Converting an Object to a String

Instances as Return Values

Sorting Lists of Instances

Class Variables and Instance Variables

Thinking About Classes and Instances

A Tamagotchi Game

Optional - What Did You Use to Practice This Week?

Inheritance

Inheriting Variables and Methods

Overriding Methods

Invoking the Parent Class's Method

Introduction: Class Inheritance

Inheriting Variables and Methods

Overriding Methods

Invoking the Parent Class's Method

Tamagotchi Revisited

Optional - What Did You Use to Practice This Week?

Unit Testing and Exceptions

Introduction: Test Cases

The test.testEqual Function

Return Value Tests

Side Effect Tests

Program Development with Test Cases

Testing Classes

Conclusion: Test Cases

Exception Handling Flow-of-control

When to use Try/Except

Handling Different Exception Types

Introduction to Django

How Django Uses Classes and Inheritance

Introduction - Final Course Project

The test.testEqual Function

Writing Test Cases for Functions

Program Development

Testing Classes

What is an Exception?

Exception Handling Flow-of-control

Raising and Catching Errors

When to use Try/Except

Standard Exceptions

Course Feedback

Keep Learning with Michigan Online

Python Classes and Inheritance
 at 
Coursera 
Admission Process

    Important Dates

    May 25, 2024
    Course Commencement Date

    Other courses offered by Coursera

    – / –
    3 months
    Beginner
    – / –
    20 hours
    Beginner
    – / –
    2 months
    Beginner
    – / –
    3 months
    Beginner
    View Other 6715 CoursesRight Arrow Icon

    Python Classes and Inheritance
     at 
    Coursera 
    Students Ratings & Reviews

    5/5
    Verified Icon1 Rating
    A
    Akbar Basha K
    Python Classes and Inheritance
    Offered by Coursera
    5
    Learning Experience: The Course content was well designed for the complete understanding of the course.
    Faculty: All the Faculties are very good. All assessment are very helpful to learn the core concepts.
    Course Support: Yeah. I used this skill to get a job.
    Reviewed on 30 Sep 2022Read More
    Thumbs Up IconThumbs Down Icon
    View 1 ReviewRight Arrow Icon
    qna

    Python Classes and Inheritance
     at 
    Coursera 

    Student Forum

    chatAnything you would want to ask experts?
    Write here...