해당 포스팅은 python의 GIL을 이해하고자 아래 post를 참조하여 작성하였다.GIL을 해결하겠다거나, 성능을 개선하겠다는 내용은 없다. GIL을 이해하고, threading, multiprocess을 보다 적재적소에 사용하고자 함이다.많은 내용이 생략됐으므로,
Different ways to test multiple flags at once in Python
How to sort a Python dict by value
How to sort a Python dict by value
The get() method on dicts and its "default" argument
Why Python is Great: Namedtuples Using namedtuple is way shorter than defining a class manually:
as an alternative to the "pprint" module
Because Python has first-class functions they can be used to emulate switch/case statements