К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
Python Classes and Inheritance · LearnSpace
Назад в каталог
courseraПрограммирование

Python Classes and Inheritance

Курс от University of Michigan
Средний≈ 19.9 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

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.

Навыки, которые вы освоите

JSONPython ProgrammingData StructuresObject Oriented Programming (OOP)Unit TestingSoftware TestingCode ReusabilityObject Oriented Design

Программа курса

4 модулей · 94 учебных материалов

01Introduction8 материалов

Welcome to Python Classes and Inheritance!

Introduction to the SpecializationВидеоWhat’s New? Updates and Improvements in the Second EditionВидеоWelcome to Python Classes and InheritanceВидеоSyllabusЧтение

Учитесь у экспертов

Steve Oney

Associate Professor

Paul Resnick

Michael D. Cohen Collegiate Professor of Information

Python Classes and Inheritance
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 19.9 ч

4 модулей

Язык: Английский

Субтитры: Арабский, Французский, Бенгальский, Узбекский, Украинский, Китайский (Китай), Греческий, Итальянский, Бразильский португальский, Вьетнамский, Нидерландский, Корейский, Немецкий, Пушту, Урду, Русский, Тайский, Индонезийский, Шведский, Турецкий, Азербайджанский, Испанский, Дари, Хинди, Японский, Казахский, Венгерский, Польский

Часть программы вашего университета
How to Use the Interactive TextbookВидео
Executing Python in the Jupyter Environment (Optional)Видео
(Optional) Getting Started with Jupyter NotebooksЛабораторная
Help Us Learn More About You!Чтение
02Classes35 материалов

Constructing Classes

Use the Runestone Practice ToolВнешний инструментIntroduction: Classes and Objects - The BasicsВнешний инструментIntroduction: Constructing ClassesВидеоObjects RevisitedВнешний инструментUser-Defined ClassesВидеоUser Defined ClassesВнешний инструментAdding Parameters to the ConstructorВидеоAdding Parameters to the ConstructorВнешний инструментAdding Other Methods to a ClassВидеоAdding Other Methods to a ClassВнешний инструментInstance Variable Search OrderВидеоPrivate and Public Instance VariablesВидеоPublic and Private Instance VariablesВнешний инструментExample: Creating Instances from DataВидеоConclusion: Constructing ClassesВидео

Objects and Instances

Introduction: Objects and InstancesВидеоObjects as Arguments and ParametersВнешний инструментConverting an Object to a StringВидеоConverting an Object to a StringВнешний инструментSpecial (dunderscore) MethodsВидеоInstances as Return ValuesВидео
03Extending and Modifying Classes with Inheritance and Decorators24 материалов

Inheritance

Use the Runestone Practice ToolВнешний инструментIntroduction: InheritanceВидеоIntroduction: Class InheritanceВнешний инструментInheriting Variables and MethodsВидеоInheriting Variables and MethodsВнешний инструментOverriding MethodsВидеоOverriding MethodsВнешний инструментInvoking the Parent Class's MethodВидеоInvoking the Parent Class's MethodВнешний инструментMultiple InheritanceВидеоMultiple InheritanceВнешний инструментTamagotchi RevisitedВнешний инструментConclusion: InheritanceВидеоOptional Lab - InheritanceЛабораторная

Decorators

Introduction: DecoratorsВидеоFunction Wrapping and DecoratorsВидеоFunction Wrapping and DecoratorsВнешний инструментDecorators with ClassesВидеоDecorators with ClassesВнешний инструментProperty DecoratorsВидео
04More Advanced Functions and Exceptions27 материалов

More Advanced Functions

Use the Runestone Practice ToolВнешний инструментIntroduction: More Advanced FunctionsВидеоAdding Documentation to Functions using DocstringsВидеоDynamic Positional Arguments with *argsВидеоDynamic Keyword Arguments with **kwargsВидеоDecorators with argumentsВидеоBuilt-in decorators in the functools moduleВидеоOutro: More Advanced FunctionsВидеоAssessment - DecoratorsПрограммирование

Exceptions

Introduction: ExceptionsВидеоException Handling Flow-of-controlВидеоHandling Different Exception TypesВидеоException InstancesВидеоExceptionsВнешний инструментWhen to use Try/ExceptВидеоWhen to use Try/Except

Way of the Programmer

Debugging with Break PointsВидеоIntroduction to DjangoВидеоHow Django Uses Classes and InheritanceВидео

Python Classes and Inheritance - Final Course Project

Introduction - Final Course ProjectВидеоAssessment - Project: Wheel of PythonПрограммирование

Course Feedback

Course FeedbackЧтениеKeep Learning with Michigan OnlineЧтение
Instances as Return ValuesВнешний инструмент
Sorting Lists of InstancesВидео
Sorting Lists of InstancesВнешний инструмент
Class Variables and Instance VariablesВидео
Class Variables and Instance VariablesВнешний инструмент
Thinking About Classes and InstancesВидео
Thinking About Classes and InstancesВнешний инструмент
Testing ClassesВидео
Testing ClassesВнешний инструмент
A Tamagotchi GameВнешний инструмент
Conclusion: Objects and InstancesВидео
Optional Lab - ClassesЛабораторная
Assessment - ClassesПрограммирование
Optional - What Did You Use to Practice This Week?Задание
Method DecoratorsВидео
Outro: DecoratorsВидео
Assessment - InheritanceПрограммирование
Optional - What Did You Use to Practice This Week?Задание
Внешний инструмент
Standard ExceptionsВнешний инструмент
Conclusion: ExceptionsВидео
Optional Lab - Try ExceptЛабораторная
Assessment - ExceptionsПрограммирование