Simple solution: us result=yourString.split(" ") and you get a list with
all the words. 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Tuesday, December 30, 2008 3:43 PM
To: [email protected]
Subject: string in files

guys i need info on how to call up different words in a line of a file
using python example : file = 'this is a python coding group'

i want to assign a xter to this, is, a, python , coding and group

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

Reply via email to