string in files

Narasimhan Raghu-RBQG84 RBQG84 at
Tue Dec 30 11:17:24 CET 2008

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

-----Original Message-----
From: at
[ at] On Behalf Of
ibpet11 at
Sent: Tuesday, December 30, 2008 3:43 PM
To: python-list at
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


More information about the Python-list mailing list