def _kw ( keywords ) : r = { } for k , v in keywords : r [ k ] = v return r
how to create a dynamic dictionary with same keyword in python
Turn list of keywords into dictionary .
def _kw(keywords):
    """Turn list of keywords into dictionary."""
    r = {}
    for k, v in keywords:
        r[k] = v
    return r