Python: Using split on a string and returning a tuple?
<p>Say I do the following:</p>

<pre><code>&gt;&gt;&gt; a = foo@bar.com
&gt;&gt;&gt; uname, domain = a.split('@')
</code></pre>

<p>But what if I only ever want domain, and never uname? For example, if I only ever wanted uname and not domain, I could do this:</p>

<pre><code>&gt;&gt;&gt; uname, = a.split('@')
</code></pre>

<p>Is there a better way to split a into a tuple and have it throw away uname?</p>
