• Programming,  Python

    [Python] Property

    Python에선 C++과 Java처럼 접근지정자가 존재하지 않는다. Guido Dave Expected a string 위 코드를 보면 decorator로 property() 함수가 사용되고 있다. 실제 property() wrapper 함수를 통해서 접근 지정을 위한 기능을 추가할 수 있다. 실제 property를…