SLIDES - understanding python \*args and \*\*kwargs
Python *args and **kwargs are super useful tools, that when used properly
can make you code much simpler and easier to maintain. Large manual
conversions from a dataset to function arguments can be packed and unpacked
into lists or dictionaries. Beware though, this power can lead to some
really unreadable/unusable code if done wrong.
I generally post these as a carousel on LinkedIn based on a full article. Let mw know what you think of it shown inside of a blog @_waylonwalker [1].
[2]
See the full article here [2]
Slides # [3]
---
[4]
---
[5]
---
[6]
---
[7]
---
[8]
---
[9]
---
[10]
---
[11]
---
[12]
---
[13]
References:
[1]: https://twitter.com/_WaylonWalker
[2]: https://waylonwalker.com/python-args-kwargs
[3]: #slides
[4]: https://images.waylonwalker.com/args-kwargs-slide-1.png
[5]: https://images.waylonwalker.com/args-kwargs-slide-2.png
[6]: https://images.waylonwalker.com/args-kwargs-slide-3.png
[7]: https://images.waylonwalker.com/args-kwargs...