Introduction to Python #9 - Classes I
Welcome to Lecture 9 of our Python Programming online class series! This session is the first part of a two-part course on Classes. A class is a compound data type in Python that allows you to create your own data types by combining primitive data types or other compound data types. You will learn how to define and create classes, understand the difference between classes and instances, access and modify attributes of a class, initialize class instances using initializers, define and use methods within a class, and more.
Prerequisites:
Make sure to have a computer with a DRAM capacity of 2GB or higher and a CPU featuring 2 or more physical cores. You'll need an internet connection with a speed of at least 100 Mbps to support video lectures (minimum requirement: 10 Mbps). Ensure you have Python version 3.6 or above installed. Additionally, have a keyboard, mouse, and monitor available to watch the video lectures. It is recommended to use Ubuntu 20.04.2 LTS as your operating system.
Lecture 9: Classes (Part 1):
• Introduction to classes and compound data types
• Creating classes in Python using the "class" keyword
• Defining attributes and methods within a class
• Understanding instances and their relation to classes
• Accessing and modifying attributes of a class using dot notation
• Using initializers to initialize class instances
• Passing arguments to initializers for attribute initialization
• Setting default arguments in initializers
• Defining and using methods within a class
• Calling methods on class instances
• Using class instances as arguments in methods
• Mutability of class attributes
• Printing class instances using the str() method
• Understanding the NoneType and its value "None"
By the end of the lecture, you will have a solid understanding of classes in Python and how to define and use them in your programs. You will be able to create your own compound data types, initialize and modify attributes, define methods, and print class instances in a recognizable form.
Join this online class on classes to enhance your Python programming skills and gain the ability to create more complex and organized code structures. Understanding classes will empower you to build modular and scalable applications, making your code easier to manage and maintain. Don't miss out on this opportunity to level up your programming expertise!
Note: This course is presented in English, with Korean and English captions. All course materials, lectures, and resources will be provided online. The content presented in this lecture is based on a course created by Omnis Labs Company. All rights reserved.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Introduction to Python #9 - Classes I», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.