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
Sur cette page du site, vous pouvez voir la vidéo en ligne Accepting arbitrary keyword arguments in Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Python Morsels 16 janvier 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 184 fois et il a aimé 11 téléspectateurs. Bon visionnage!