Yes, It does. Use **kwargs
in a function definition.
Example:
def f(**kwargs):
print kwargs.keys()
f(a=2, b="b") # -> ['a', 'b']
f(**{'d'+'e': 1}) # -> ['de']
But why do you need that?
More Related Contents:
- Convert array dictionary to a dictionary python
- Execute python script while open terminal
- Tkinter assign button command in a for loop with lambda [duplicate]
- How can I schedule updates (f/e, to update a clock) in tkinter?
- Division in Python 2.7. and 3.3 [duplicate]
- How to get the location of all text present in an image using OpenCV?
- Loop backwards using indices
- Listing available com ports with Python
- How to Execute a Python Script in Notepad++?
- Appending a dictionary to a list – I see a pointer like behavior
- How can I plot a confusion matrix? [duplicate]
- How to install pip for Python 3 on Mac OS X?
- Django equivalent for count and group by
- Tuple unpacking order changes values assigned
- Save a subplot in matplotlib
- How to plot a histogram using Matplotlib in Python with a list of data?
- Launch a shell command with in a python script, wait for the termination and return to the script
- django-filter use paginations
- How does Keras 1d convolution layer work with word embeddings – text classification problem? (Filters, kernel size, and all hyperparameter)
- sudo pip install VS pip install –user
- Cannot find reference ‘xxx’ in __init__.py
- How to update/modify an XML file in python?
- NumPy, RuntimeWarning: invalid value encountered in power
- White lines in matplotlib’s pcolor
- Getting only decoded payload from JWT in python
- Assign multiple values of a list
- Trying to create a virtualenv in python and activate it
- Confused about Python’s id() [duplicate]
- Iterate a list with indexes [duplicate]
- How to fix error “ERROR: Command errored out with exit status 1: python.” when trying to install django-heroku using pip [duplicate]