정적메소드 정적 메소드라 함은 클래스에서 직접 접근할 수 있는 메소드이다 파이썬에서는 클래스에 직접 접근할 수 있는 메소드가 두 가지이다 정적메소드임에도 불구하고 인스턴스에서도 접근이 가능하다 class CustomClass: # instance method def add_instance_method(self, a,b): return a + b # classmethod @classmethod def add_class_method(cls, a, b): return a + b # staticmethod @staticmethod def add_static_method(a, b): return a + b 인스턴스 메소드를 클래스에서 바로 접근하기 >>> from static_method import Custom..