I would like to unpack the return of a function into :
a first variable always set up by the first returned value
a second variable to store any exceeded returned value
To do so, I have this code working under python3.x. How could I make it works with python 2.x (python2.6 at least) ?
a,*b = ['a','b','c']
Edit: This would also work with :
a,*b = ['a']