How do I unpack a list with fewer variables?
<pre><code>k = [u'query_urls', u'"kick"', u'"00"', u'msg=1212', u'id=11']

&gt;&gt;&gt; name, view, id, tokens = k
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
ValueError: too many values to unpack
</code></pre>

<p>I need to provide 5 variables to unpack this list. Is there a way to unpack with fewer, so that <code>tokens</code> gets the rest of the list. I don't want to write another line to append to a list....</p>

<p>Thanks. </p>

<hr>

<p>Of course I can slice a list, assign individually, etc. But I want to know how to do what I want using the syntax above.</p>
