Mohammed Altaj wrote: > Dear All > > This is my problem again , (snip) > > I managed to do all these things , but i did it in the way that i am > reading my data as strings ( no space between numbers) something like > > 0124 > 124 > 23 > 34 > > what i would like to know or to do is , how can i deal with my data > after reading it as strings(i need the space between numbers) because i > had problem when dealing with number larger than 9 , example : > > 0 1 5 9 > 1 12 10 > 4 6 7 > 10 9 > > so , when i remove the space between numbers , i loose all my data , i > mean it will look like > 0159 > 11210 > 467 > 509 >
Read my answers to your two previous posts. (in short : use str.split() - but *do* read my answers if you want to save you a lot of pain) -- bruno desthuilliers python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for p in '[EMAIL PROTECTED]'.split('@')])" -- http://mail.python.org/mailman/listinfo/python-list