root at sys1.org
Tue Jun 24 00:13:01 CEST 2008
Yes, ... don't ask me why, but in fact v1,v2,v3 = str1.split()
does not seem to work. My original problem was I forgot about
the parenthesis as Tim point out. So I ended up converting to a
list as in: v = str1.split() and accessing the elements using
v v ect...it is working now. Thanks.
cokofreedom at gmail.com wrote:
> However I would make a list of it.
>>>> v_list = example.split()
> That seems to me to be the more pythonic way to do it, since it is
More information about the Python-list