[파으리썬] python initialize n inheritance
TRANSCRIPT
![Page 1: [파으리썬] Python initialize n inheritance](https://reader035.vdocuments.pub/reader035/viewer/2022071800/55ccdf4ebb61eb98278b45ab/html5/thumbnails/1.jpg)
파이썬함수 초기화 & 클래스 상속
![Page 2: [파으리썬] Python initialize n inheritance](https://reader035.vdocuments.pub/reader035/viewer/2022071800/55ccdf4ebb61eb98278b45ab/html5/thumbnails/2.jpg)
클래스 선언
![Page 3: [파으리썬] Python initialize n inheritance](https://reader035.vdocuments.pub/reader035/viewer/2022071800/55ccdf4ebb61eb98278b45ab/html5/thumbnails/3.jpg)
클래스를 선언하려고 하는데…
기존에 있는 걸 그대로 쓰고 싶어
마치 과일에 포함되는게 사과인 것 처럼 !
어떻게 하는지 모르겠ㅇ… ...
클래스 재활용
![Page 4: [파으리썬] Python initialize n inheritance](https://reader035.vdocuments.pub/reader035/viewer/2022071800/55ccdf4ebb61eb98278b45ab/html5/thumbnails/4.jpg)
상속
다른 클래스의 틀과 행동을 이어받는 것
틀을 새로 만들 수 있다
행동을 다시 설정할 수 있다 .
클래스 재활용 ? 상속 !
![Page 5: [파으리썬] Python initialize n inheritance](https://reader035.vdocuments.pub/reader035/viewer/2022071800/55ccdf4ebb61eb98278b45ab/html5/thumbnails/5.jpg)
클래스 재활용 ? 상속 !
![Page 6: [파으리썬] Python initialize n inheritance](https://reader035.vdocuments.pub/reader035/viewer/2022071800/55ccdf4ebb61eb98278b45ab/html5/thumbnails/6.jpg)
클래스 재활용 ? 상속 !