How Python object system works

As we know from the previous parts of this series, the execution of a Python program consists of two major steps: 1. The CPython compiler… Read more

Similar

Nice JSON pretty printing with Python

If you work with JSON regularly (90% of Python developers I suspect) you might appreciate the print_json function just landed in Rich v10.9.0 If you call this function with a string, Rich will decode the string, reformat it, and print it to the console wi... (more…)

Read more »

Mocking with Python

This is part 2 of my mocking with python blog series. If you haven’t read the first part or have, and would like to skim over the basics, then please go ahead and read it (again). Both articles aren’t in any way an expert guide but my personal quest on le... (more…)

Read more »