โ† All lessons

Lesson 48 of 62 ยท about 17 minutes

functools: Power Tools for Functions ๐Ÿ› ๏ธ

functools: Power Tools for Functions ๐Ÿ› ๏ธ The functools module is a toolbox for working with functions as values. Four tools in it turn up again and again in real code: lru_cache , partial , reduce and wraps . lru_cache: remember answers If a function alwaysโ€ฆ

This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.

See the free lessons