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