Literal period in Python dict
<p>I'm using this code:</p>

<pre><code>import urllib2

submit = urllib.urlencode(dict(sign.username='example'))
</code></pre>

<p>But i get this error:</p>

<p><code>SyntaxError: keyword can't be an expression</code></p>

<p><code>sign.username</code> is a parameter in the URL which I am encoding, but Python won't let me use it, how can I fix this?</p>
