© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Dave Chengescu
DominikAngerer
I'm Dominik Angerer, a Web-Developer at and Founder of Storyblok from Austria with an eye for the detail and performance as well.
**kwargs means keyword arguments. Its actually not a python keyword, its just a convention, that people follow. That will get all the key-value parameters passed to the function. :)
def func(*args, **kwargs): print args, kwargs func(1, "Welcome", name="thefourtheye", year=2013)
Will print
(1, 'Welcome') {'name': 'thefourtheye', 'year': 2013}
DominikAngerer
I'm Dominik Angerer, a Web-Developer at and Founder of Storyblok from Austria with an eye for the detail and performance as well.
**kwargs means keyword arguments. Its actually not a python keyword, its just a convention, that people follow. That will get all the key-value parameters passed to the function. :)
def func(*args, **kwargs): print args, kwargs func(1, "Welcome", name="thefourtheye", year=2013)Will print
(1, 'Welcome') {'name': 'thefourtheye', 'year': 2013}