(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
- Templates
- analysis
- 확진
- DAQ
- ERP
- git
- MacOS
- Python
- COVID-19
- SSH
- vscode
- 코로나
- Model
- server
- DS18B20
- r
- Regression
- pyserial
- github
- sublime text
- Django
- 코로나19
- 자가격리
- arduino
- template
- Pandas
- Raspberry Pi
- CSV
- raspberrypi
- 라즈베리파이
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함