Unpacking MessagePack

SALT messages are encoded with a library called msgpack, the Python implementation of MessagePack. How can we read them? ...

June 5, 2025

Python String Interpolation

Python string interpolation is available via few of interfaces, as Chris at Hashrocket taught me. ...

May 27, 2025

Print Python Function Definition With Getsource

If I’ve defined a function in the Python REPL, I can read its definition with inspect.getsource. ...

May 16, 2025

Python REPL Help

In the Python REPL, the help function provides a help message about its argument. ...

May 16, 2025

Exercism Raindrops in Python

I’ve been learning a bit of Python this Fall to facilitate conversations with a mentee. In this post, I’m going to share the first Python function I’ve ever written, a solution to the Exercism challenge ‘Raindrops’. ...

December 6, 2020