[Tutor] Files Merging
Sunil Tech
sunil.techspk at gmail.com
Thu Oct 11 13:13:21 CEST 2012
Hi all,
Greetings to you...
it been so helpful for me to go through your all mails & support & i wish
it still continues.
I have two text files.
text1 contains
This is from Text1 --- 1st line
This is from Text1 --- 2nd line
This is from Text1 --- 3rd line
This is from Text1 --- 4th line
This is from Text1 --- 5th line
text2 contains
This is from Text2 --- 1st line
This is from Text2 --- 2nd line
This is from Text2 --- 3rd line
This is from Text2 --- 4th line
This is from Text2 --- 5th line
i want result in text3 like
This is from Text1 --- 1st line
This is from Text2 --- 1st line
This is from Text1 --- 2nd line
This is from Text2 --- 2nd line
This is from Text1 --- 3rd line
This is from Text2 --- 3rd line
This is from Text1 --- 4th line
This is from Text2 --- 4th line
This is from Text1 --- 5th line
This is from Text2 --- 5th line
but condition is "should not use any loops"
waiting for your reply,
thank you in advance.
Regards,
Sunil G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20121011/23b0c89c/attachment.html>
More information about the Tutor
mailing list