basic comparing files

Beema shafreen beema.shafreen at gmail.com
Thu May 15 05:02:29 EDT 2008


hi all,

I have a very basic doubt

I am comparing two files A and B
which has three columns a1, b1 of A and a2, b2
say for example if need to compare a1 with a2 and if there are common i have
display a1, b1, b2
or else i have to display a1 , b1 or a1, b2

is the set function going to be the best option or is there any other way



-- 
Beema Shafreen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080515/407fb4a6/attachment.html>


More information about the Python-list mailing list