On 02/17/2014 10:07 AM, Aaron Misquith wrote:
I have 2 different text files.
File1.txt contains:
file
RAMPython
parser
File2.txt contains:
file1234
program
I want to perform an union of these both files such that i get an output
file3.txt which contains:
file
RAMPython
parser1234
program
I don't understand the logic of your "union" (???) at all. Is your example
correct? A naive union in the naive sense would _here_ keep all items, since
they are all different, and certainly not compose a non-existant one "parser1234".
d
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor