Ever seen **kwargs in a function definition? There's nothing special about the name "kwargs": it's the ** that's special. You can use Python's ** operator to define a function that accepts arbitrary keyword arguments.
Read an article version of this video at https://pym.dev/accepting-arbitrary-k...
Find more Python screencasts at https://pym.dev/screencasts/
00:00 Passing keyword arguments to a function
00:37 Capturing arbitrary keyword arguments
02:05 Arbitrary keyword arguments within Python
02:58 Use ** to accept arbitrary keyword arguments
На этой странице сайта вы можете посмотреть видео онлайн Accepting arbitrary keyword arguments in Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Python Morsels 16 Январь 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 184 раз и оно понравилось 11 зрителям. Приятного просмотра!