My new ebook “Comprehending Comprehensions” is on pre-sale and 40% off!

Pydon'ts

Write elegant Python code

A series of articles that teaches you how to make the best use of the core Python features. The Pydon'ts are available as an e-book that you can read for free below.

This article compares the three main string formatting methods in Python and suggests which methods to use in each situation.

When you call a function in Python and give it some arguments... Are they passed by value? No! By reference? No! They're passed by assignment.