Re: string in files

2008-12-31 Thread Glauco
Steven D'Aprano ha scritto: On Tue, 30 Dec 2008 11:53:17 +0100, Glauco wrote: thanks brother i mean how do i particularly assign (u = this) (y = is) in the strings up there. i have been able to split strings with any character sign. If i'm not wrong t

Re: string in files

2008-12-30 Thread Steven D'Aprano
On Tue, 30 Dec 2008 11:53:17 +0100, Glauco wrote: >> thanks brother >> i mean how do i particularly assign (u = this) >> (y = is) >> in the strings up there. i have been able to split strings with any >> character sign. >> >> > > If i'm not wrong this is

Re: string in files

2008-12-30 Thread Lie Ryan
On Tue, 30 Dec 2008 11:53:17 +0100, Glauco wrote: >> thanks brother >> i mean how do i particularly assign (u = this) >> (y = is) >> in the strings up there. i have been able to split strings with any >> character sign. >> >> > > If i'm not wrong this is

Re: string in files

2008-12-30 Thread Steve Holden
[email protected] wrote: > On Dec 30, 11:17 am, "Narasimhan Raghu-RBQG84" > wrote: >> Simple solution: us result=yourString.split(" ") and you get a list with >> all the words. >> >> -Original Message- >> From: [email protected] >> >> [mailto:python-list-bo

Re: string in files

2008-12-30 Thread Glauco
thanks brother i mean how do i particularly assign (u = this) (y = is) in the strings up there. i have been able to split strings with any character sign. If i'm not wrong this is simple with RE: In [1]: st = 'this is a python coding group' In [2]: i

Re: string in files

2008-12-30 Thread ibpet11
On Dec 30, 11:17 am, "Narasimhan Raghu-RBQG84" wrote: > Simple solution: us result=yourString.split(" ") and you get a list with > all the words. > > -Original Message- > From: [email protected] > > [mailto:[email protected]

RE: string in files

2008-12-30 Thread Narasimhan Raghu-RBQG84
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