I want to split a sentence and assign each word to a variable.
In Ruby I can do it as:

v1,v2,v3,v4,v5 = str1.split

Which will be the Python equivalent ? Thanks.

Andrew.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to