Randy Bush wrote:
> maybe it's that i am actually doing
>
> l = []
> a, l = string.split('|')
How about
>>> s='1|2|3|4'
>>> l=s.split('|')
>>> a, l = l[0], l[1:]
>>> a
'1'
>>> l
['2', '3', '4']
?
Kent
>
> ?
>
> _______________________________________________
> Tutor maillist - [email protected]
> http://mail.python.org/mailman/listinfo/tutor
>
>
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
