string in files

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Wed Dec 31 02:16:24 CET 2008


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 simple with RE:

If that's your idea of "simple", I'd hate to see what you consider 
complicated!

*Simple* is just using the split method.

a, b, c, d, e, f = 'this is a python coding group'.split()




-- 
Steven



More information about the Python-list mailing list