icon 자막
자막을 로드하는 중...

Python OOP Tutorial 1: Classes and Instances

youtube 번역 youtube 한국어 번역 youtube 자막 youtube 한국어 자막 youtube 한국어로 번역 youtube 비디오 번역 youtube translate to korean translate youtube to korean youtube transcript to korean translate youtube video to korean

YouTube transcript, YouTube translate

32/32

A quick preview of the first subtitles so you know what the video covers.

hey everybody how's it going in this series of videos we'll be learning how to create and use classes within Python and how object-oriented concepts are applied within the language now there's a lot to cover when working with classes so I'm going to break these up into several different videos we'll cover the basics of creating and instantiating classes we'll learn about inheritance class and instance variables static methods and class methods and several other topics so breaking these up in several videos will allow us to focus on specific Topics in each video so in this video we'll be learning the basics of creating and instantiating simple classes but first why should we even use classes now this isn't just specific to python you can see classes being used throughout most modern programming languages and there's a good reason for that they allow us to logically group our data and functions in a way that's 's easy to reuse and also easy to build upon if need be now just a quick side note when I say data and functions that are associated with a specific class we call those attributes and methods and you'll hear me use those terms a lot throughout these videos so when I say I mean a function that is associated with a class um so let's go ahead and get started so say we had an application for our company and we wanted to represent our employees in our python code now this would be a great use case for a class because each individual employee is going to have specific attributes and methods so for example each employee is going to have a name an email address a pay and also actions that they can perform so it would be nice if we had a class that we could use as a blueprint to create each employee

설정

100%

번역 대상 언어

🔊 오디오 재생
번역된 오디오 재생 중