super

    [Python] 객체지향 - super()

    클래스, 객체, 생성자 등 객체지향에 대한 기본적인 내용 https://kairosial.tistory.com/13 [Python] 객체지향 - 클래스, 객체, 생성자 클래스와 객체 과자를 만드는 과자 틀이 클래스(Class)이고, 과자 틀에 의해서 만들어진 과자가 객체(Object) 클래스는 무엇인가를 계속해서 만들어 낼 수 있는 설계 도면이고, 객체는 클래스로 만 kairosial.tistory.com super() class Person: def __init__(self): print('Person __init__') self.hello = '안녕하세요' class Student(Person):# Person 클래스를 상속받음 def __init__(self): print('Student __ini..