self.str 아니면 동일한 전역 변수에 접근해서 출력함
self는 현재 인스턴스 객체를 가리킨다
'코딩 > 파이썬' 카테고리의 다른 글
aws ec2에서 파이썬 설치하고 실행하기(instapy) (0) | 2019.02.18 |
---|---|
장고 공부할거 (0) | 2018.10.24 |
파이썬으로 키움증권 자동으로 로그인하기 (1) | 2018.08.19 |
파이썬으로 배우는 알고리즘 트레이딩 위키닥스 (0) | 2018.08.15 |
파이썬으로 비트코인 이평선 차트 만들기 (0) | 2018.08.15 |