
OOP 개념
https://dsaint31.me/mkdocs_site/python/oop/oop_0_00_OOP/
BME
Object Oriented Programming (OOP) OOP란? OOP는 Object 에 기반 하여, Object 를 이용 하고 Object 를 만들고(정의 및 구현), Object 를 조합 하여 프로그래밍 하는 Program paradigm의 하나. 을 가르킴. Programming Paradigm 의
dsaint31.me
위의 url과 연결된 urls확인할 것.
Python 한정
2024.04.14 - [Python] - [Python] class 만들기.
[Python] class 만들기.
Python에서의 custom class 만들 때 미리 알고있어야 하는 내용.Python에선 모든 것이 객체임: 아래의 class를 정의하면 CustomClass 라는 이름의 type 형의 객체가 생성됨:class 키워드로 시작하는 클래스 정의
ds31x.tistory.com
보다 자세한 내용:
2025.12.24 - [Python] - Python Class Definition and Object Model
Python Class Definition and Object Model
1. Object-Oriented Programming (OOP)에서의 Class 개념1.1 Class의 역할Class = State + Behavior Class는 Object-Oriented Programming에서 State와 Behavior를 함께 정의하는 추상화 단위임State는 Object가 보유하는 데이터의 집합
ds31x.tistory.com
2023.08.20 - [Python] - [Python] instance methods, class methods, and static methods
[Python] instance methods, class methods, and static methods
method 의 경우,instance method,class method,static method 로 나뉘지만,field(=variable attribute)의 경우엔, instance variable (=instance data attribute)과 class variable(=class data attribute)만 있음.2025.12.24 - [Python] - Python Class Defi
ds31x.tistory.com
2023.07.13 - [Python] - [Python] overloading, overriding, and special methods
[Python] overloading, overriding, and special methods
일반적인 Overloadingoverloading (or over-load, 과적?)이란 같은 이름의 function, method, operator를 여러 개로 중복 정의하는 것을 가르킴.function의 경우, call시 입력되는 arguments가 할당될 parameters를 다르게 하
ds31x.tistory.com
추가적 내용들
동적인 attribute 추가
https://dsaint31.me/mkdocs_site/python/oop/oop_3_01_python_class/#class-attribute
BME
Python에서의 Class Class 도 Python에서는 instance임. 다음이 Python에서 Class와 Object의 실체를 말해준다. 모든 Object는 object를 super-class로 가진다. 모든 Class는 type이라는 Class의 instance이다. 우리가 Samp1 이
dsaint31.me
python class 에서 encapsulation 구현하는 방법.
https://dsaint31.me/mkdocs_site/python/oop/oop_3_02_python_encapsulation/
BME228
Python에서의 Encapsulation 관련 구현. Data Hiding 관점 Encapsulation을 엄격히 적용하려면, data에 직접 접근이 아닌 getter나 setter와 같은 method들을 통해서만 이루어져야 한다. 문제는 python에서는 이를 구현
dsaint31.me
관련하여 같이 보면 좋은 자료들
2023.10.06 - [분류 전체보기] - [Python] Python 정리
[Summary] Python 정리
Programming Language and Python 소개2023.10.23 - [Python] - [Python] Programming Language and Introduction of Python. [Python] Programming Language and Introduction of Python.Computer and Programhttps://dsaint31.tistory.com/436: computer 의 정의와 pr
ds31x.tistory.com
'Python' 카테고리의 다른 글
| [Py] Python에서 string formatting. (0) | 2024.09.04 |
|---|---|
| [Python] f-string과 for문 체크 문제 (0) | 2024.09.04 |
| [Python] 사용자와 상호작용: 입력받기: input, sys.argv and argparse (1) | 2024.07.24 |
| [Programming] Binding: Name Binding and Language Binding (0) | 2024.06.06 |
| [Python] Ex: Relative Path Import 시 주의할 점 (1) | 2024.06.04 |