A simple working example and a link to the official documentation
# using *args and **kwargs in functions # 2018/10/24 # Official documentation: https://docs.python.org/2/tutorial/controlflow.html#more-on-defining-functions # Python Bits & Pieces # Stefan Gaillot # xenjee@gmail.com def args_and_kwargs(my_var, *args, **kwargs): print "a… Read more
You must be logged in to post a comment.