Python Python Decorator(데코레이터) 왜 데코레이터를 사용할까? * 데코레이터는 함수를 수정하지 않은 상태에서 추가 기능을 구현할 때 사용 As-Is def hello(): print('hello 함수 시작') print('hello') print('hello 함수 끝') def world(): print('world 함수 시작') print('world') print('world 함수 끝'