| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- Substring with Concatenation of All Words
- 30. Substring with Concatenation of All Words
- 프로그래머스
- Convert Sorted List to Binary Search Tree
- Python
- Python Code
- LeetCode
- DWG
- 715. Range Module
- Python Implementation
- Generator
- Regular Expression
- Decorator
- Protocol
- concurrency
- 109. Convert Sorted List to Binary Search Tree
- 시바견
- 컴퓨터의 구조
- shiba
- 운영체제
- 밴픽
- Class
- attribute
- iterator
- 315. Count of Smaller Numbers After Self
- 파이썬
- kaggle
- t1
- 43. Multiply Strings
- data science
Archives
- Today
- Total
목록Pythonic Object (1)
Scribbling
Python: Pythonic Object
What is a "Pythonic Object"? An object with many different magic methods seems to be more pythonic. However, it doesn't necessarily refer to a class with a lot of magic methods. That is, we don't have to implement all the magic methods in every class. Instead, implement them if only needed, because 'being simple' is pythonic. Below is Vector2D class example. from array import array import math c..
Computer Science/Python
2022. 4. 5. 12:23