CLASSES & OBJECTS
Python Object-oriented Programming
- callable
Class
Class Variables
함수& Methods
__init__: Initializing Instance Attributes
Instance Variables
Private Attributes
Class Attributes
Static Methods
SPECIAL METHODS
__str__
__repr__
__eq__
__hash__
__bool__
__del__
PROPERTY
@property Decorator
Readonly Property
Delete Property
SINGLE INHERITANCE
Overriding Methods
super()
__slots__
Abstract Classes
ENUMERATIONS
Enumeration
Enum aliases & @enum.unique Decorator
Customize & Extend Enum Classes
Enum auto
SOLID PRINCIPLES
Single Responsibility Principle
Open–closed principle
Liskov Substitution Principle
Interface Segregation Principle
Dependency Inversion Principle
MULTIPLE INHERITANCE
DESCRIPTORS
Descriptors
Data vs. Non-data Descriptors
META PROGRAMMING
__new__ Method
type Class
Metaclass
Metaclass Example
EXCEPTIONS
Exceptions
Exception Handling
Raise Exceptions
Raise From
Custom Exceptions
'Python Object-oriented Programming' 카테고리의 다른 글
type Class (0) | 2023.04.01 |
---|---|
Abstract Class (0) | 2023.03.31 |
super() Method (0) | 2023.03.31 |
Static Methods (0) | 2023.03.31 |
__new__() Method (0) | 2023.03.31 |
댓글