Home

Counter

1 2 from collections import Counter Counter([1, 1, 2, 3, 4]) Counter({1: 2, 2: 1, 3: 1, 4: 1})

Read more

unittest

Remarks 본 글은 파이썬 - 기본을 갈고 닦자! / unittest - 단위테스트의 내용을 정리한 글입니다.

Read more

Timer

contextlib.ContextDecorator를 이용하여 간단하고 유용한 timer를 만들 수 있다.

Read more