Can you take a list and have it exploded into variables w/ one
command? Something like..


list = ['foo', 'bar']
[a, b] = list

Then 'a' would be foo and 'b' 'bar'.

Like list($a,$b) = $list in PHP.

Thanks!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to