Python *args & **kwargs

Understanding Python’s Magical Variables

Kurtis Pykes
Geek Culture
Published in
5 min readMar 16, 2022

--

The Python Logo from Python.org

Whenever we’re performing similar operations we use functions; Functions are a great way to create code that is reusable. When reading code from some of the most popular frameworks, it’s common to see *args and **kwargs defined as a parameter in some functions. This is a major cause of confusion for most Python programmers, so don’t feel bad if you don’t…

--

--

Kurtis Pykes
Geek Culture

I help Medium bloggers build, grow, and scale their online business.