>>> line_of_numbers = "5 7 6 35 346 245"
>>> list_of_numbers = line_of_numbers.split()
>>> print list_of_numbers
['5', '7', '6', '35', '346', '245']
>>>
d5e5
Practically a Posting Shark
810 posts since Sep 2009
Reputation Points: 159
Solved Threads: 159
numbers="12560 36520 1763"
numberlist= numbers.split()
print("First number is %i." % numberlist[0])
pyTony
pyMod
5,359 posts since Apr 2010
Reputation Points: 782
Solved Threads: 852