Python_Cookbook_3rd_Edition
파이썬 공부
Blogs
- About Magic Method(https://corikachu.github.io/articles/python/python-magic-method)
- Iterable vs Iterators vs Generator (http://nvie.com/posts/iterators-vs-generators/)
CHAPTER 1: Data Structures and Algorithms
- 1.2 Star Expression in Python
- 1.3 collections.deque
- 1.4 heapq: nlargest(), nsmallest -> Key function
- 1.5 heapq.heappush(), heaoq.heappop()
- 1.6 collections.defaultdict: defaultdict(list), defaultdict(set), initializaiton of first element of dict.
- 1.7 collections.OrderedDict
- 1.8 zip() returns iterator that can be consumed only once
- 1.9 dictionary functions items(), keys(), values()
- 1.10 key function