Script started on Tue Aug 9 16:01:21 2011 complex% python tcomp2.py usage: python tcomp2.py filename word1 word2 file1name file2name ... complex% python tcomp2.py tc1.dat blah rhubarb tc2.dat tc3.dat The word-pair " blah rhubarb " occurs 1 times in file " tc1.dat " >>> The word-pair " blah rhubarb " occurs 1 times in file " tc2.dat " >>> The word-pair " blah rhubarb " occurs 0 times in file " tc3.dat " File " tc2.dat " is most similar to file " tc1.dat " complex% python tcomp2.py tc1.dat rhubarb blah tc2.dat tc3.dat The word-pair " rhubarb blah " occurs 0 times in file " tc1.dat " >>> The word-pair " rhubarb blah " occurs 1 times in file " tc2.dat " >>> The word-pair " rhubarb blah " occurs 0 times in file " tc3.dat " File " tc3.dat " is most similar to file " tc1.dat " complex% python tcomp2.py tc1.dat bologna blah tc2.dat tc3.dat The word-pair " bologna blah " occurs 1 times in file " tc1.dat " >>> The word-pair " bologna blah " occurs 0 times in file " tc2.dat " >>> The word-pair " bologna blah " occurs 3 times in file " tc3.dat " File " tc2.dat " is most similar to file " tc1.dat " complex% python tcomp2.py tc1.dat rhubarb cabbage tc2.dat tc3.dat The word-pair " rhubarb cabbage " occurs 0 times in file " tc1.dat " >>> The word-pair " rhubarb cabbage " occurs 1 times in file " tc2.dat " >>> The word-pair " rhubarb cabbage " occurs 0 times in file " tc3.dat " File " tc3.dat " is most similar to file " tc1.dat " complex% exit Script done on Tue Aug 9 16:03:06 2011