[Python] 클래스 class __init__ self if __name__ == "__main__" pass __del__ staticmethod 캡슐화 객체지향


[Python] 클래스 class __init__ self if __name__ == "__main__" pass __del__ staticmethod 캡슐화 객체지향

지난 시간에 우리는 사진에서 얼굴을 찾아 모자이크 처리하는 방법에 대해 알아봤습니다. https://blog.naver.com/dorergiverny/223190823622 [Python][Project] 영상에서 얼굴 찾기 모자이크 처리하기 바꾸기 image face detection mosaic swap 검출 추출 눈 eye 지난 시간에 우리는 영상에서 글씨를 추출하여 파일로 저장하는 방법에 대해 알아보았습니다. https://m.bl... blog.naver.com 이번에는 python 프로그래밍을 하다보면 마주치게 되는 중요하지만 기본적인 개념들에 대해 알아보겠습니다. [Class 란?] 클래스는 실세계의 것을 모델링하여 속성(attribute)와 동작(method)를 갖는 데이터 타입입니다. python 에서는 string, int, list, dict 모두 클래스로 존재하고 있습니다. 다시말하면, 클래스는 '객체(instance)'를 만들기 위한 틀입니다. 주로 붕어빵으로...


#__del__ #self #static #객체 #객체지향 #모듈 #생성자 #인스턴스 #캡슐화 #클래스 #pass #object #module #__init__ #__main__ #__name__ #class #constructor #encapsulation #import #instance #method #키워드

원문링크 : [Python] 클래스 class __init__ self if __name__ == "__main__" pass __del__ staticmethod 캡슐화 객체지향