Making Python 3 the Default on macOS

While macOS ships with Python 2 by default, you can install set Python 3 as the default Python version on your Mac. First, you install Python 3 with… Read more


The Walrus-While Python Pattern

Suppose you are reading from an unbounded data source in increments of a certain size. This is a common sort of situation; for example, reading lines from stdin. The total length of the data source is not known in advance, so the only thing to do is keep ... (more…)

Read more »