A Guide to Args, Kwargs, Packing and Unpacking in Python

How these powerful coding tools allow function flexibility

Edward Krueger
Towards Data Science
6 min readApr 1, 2021

--

By: Edward Krueger and Douglas Franklin.

Photo by Michael Dziedzic on Unsplash

Introduction

We’ve all heard of arguments and keyword arguments (args and kwargs) when discussing Python functions. Arguments usually consist of numerical values, while…

--

--