various Python 3+ snippets.