Pythonic way to create a command args strings from key => values sored in a dictionary
<p>I have a dictionary, and I want to use the items (key,value) to generate a single string, which I will pass argument to another script on the command line.</p>

<p>Snippet illustrates further:</p>

<pre><code>args = { 'arg1': 100, 'arg2': 234 }
</code></pre>

<p>I want to create the string: </p>

<pre><code>--arg1=100 --arg2=234
</code></pre>

<p>from the dictionary.</p>

<p>The naive (expensive) way to do that would be to loop through the items in the dictionary, building the string as I went along.</p>

<p>Is there a more pythonic way of doing this?</p>
