How to pass a dict when a Python function expects **kwargs
Автор: Python and Pandas with Reuven Lerner
Загружено: 2021-08-29
Просмотров: 4859
Описание:
Many Python functions have a **kwargs parameter — a dict whose keys and values are populated via keyword arguments. But what if you have a dict, and want to turn it into keyword arguments? In this video, I explain the use of ** when you're calling a function, and how it's different from passing a dict.
Be sure to get new Python tips every week via my "Better developers" newsletter, at https://BetterDevelopersWeekly.com/!
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: