+ 1
args y kwargs en Python Una explicaciĂłn y ejemplos de uso.
SĂ, lo sĂ©, tĂș tambiĂ©n los has visto en un montĂłn de ejemplos pero no te termina de quedar claro quĂ© significan los parĂĄmetros *args y **kwargs en una funciĂłn en Python. Y no solo como parĂĄmetros, sino que tambiĂ©n pueden ser pasados como argumentos . En este post quiero explicarte quĂ© significan y cuĂĄndo usarlos.
1 Answer
0
In english:
Args and Kwargs in Python an explanation and usage examples.
Yes, I know, you've also seen them in a lot of examples, but it doesn't end up being clear what the parameters * args and * * Kwargs mean in a Python function. And not just as parameters, but can also be passed as arguments. In this post I want to explain what they mean and when to use them