shell에서 파이썬 켠뒤 경로 설정.
python3
>>> import sys
>>> print(sys.executable)
/Library/Developer/CommandLineTools/usr/bin/python3
zshrc에서 python3 경로 설정
vi ~/.zshrc
export PYTHONPATH="/Library/Developer/CommandLineTools/usr/bin/python3"
Python 시간 계산 - datetime 매시간, 매분 까지 sleep
Python 순열, 조합, product - itertools
Python isalpha, lower, replace, re.sub, swapcase, set
Python 교집합, 합집합, Counter, lambda
Python 두 딕셔너리 병합, 최대, 최소 개수 출력 - itertool chain
Python 다익스트라 알고리즘- dijkstra, heapq
파이썬 Deque - pop, push 리스트보다 빠름
Python 리스트 인덱스 값과 같이 출력 - enumerate