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 |
Credential | Certificate |
Python Classes and Inheritance at Coursera Highlights
- This Course Plus the Full Specialization.
- Shareable Certificates.
- Graded Programming Assignments.
Python Classes and Inheritance at Coursera Course details
- 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.
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
Other courses offered by Coursera
Python Classes and Inheritance at Coursera Students Ratings & Reviews
- 4-51