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