This lesson is from the Real Python video course by Rich Bibby.
Python args and kwargs: Demystified (Summary)
00:00
You’re now able to use *args
and **kwargs
to accept a changeable number of arguments in your functions. You’ve also learned something more about unpacking operators. To recap, in this tutorial you’ve learned what *args
and **kwargs
actually mean, how to use *args
and **kwargs
in function definitions, how to use a single asterisk (*
) to unpack iterables, and how to use two asterisks (**
) to unpack dictionaries. And that just about wraps up this tutorial.
00:26 I hope you enjoyed it, and thanks very much for watching!
You must own this product to join the conversation.