(macOS)[python] Class : public, protected, private, inheritance
1. class 생성 : Naming public # public class Naming: def __init__(self,head,tail): self.head = head self.tail = tail def get_name(self,head_name,tail_name): self.head = head_name self.tail = tail_name def get_info(self): print(self.head, self.tail) def __del__(self): print('Name object is deleted') # Use class object = Naming(head,tail) # Use delete del object protected : single underscore # prote..
python/Data Science
2020. 3. 2. 15:24
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Django
- arduino
- analysis
- Templates
- r
- pyserial
- 코로나
- Model
- 코로나19
- vscode
- CSV
- DAQ
- SSH
- MacOS
- server
- 자가격리
- ERP
- github
- template
- git
- COVID-19
- Regression
- raspberrypi
- DS18B20
- Raspberry Pi
- Pandas
- 확진
- Python
- sublime text
- 라즈베리파이
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함