 <p>Try like this:</p> <pre><code>action = getattr(me,command['action']) action(**{'a': 'Apple', 'b': 'Banana', 'args':['one','two','three','four'], 'foo':'spam', 'clowns':'bad', 'chickens':'good' }) </code></pre>