Three ways to use Python's "vars" function

Опубликовано: 19 September 2026
на канале: Python and Pandas with Reuven Lerner
2,309
95

Python's "vars" function can be used in three different ways — and while it's unlikely to play a part in your production code, it can be quite useful in debugging and exploring. In this video, I demonstrate all three of these uses, which can also give us insights into Python's variables and attributes.

The Jupyter notebook I used for these videos is at https://github.com/reuven/YouTube-not....

For free, weekly articles about Python, be sure to subscribe to my "Better developers" newsletter: https://BetterDevelopersWeekly.com/