> The ideal of output of this program is to show if there is any new > number added to the new file. > > In other words, the file content of file1 [0001.hk, 0002.hk, 0003.hk, > 0004.hk] is comparing with the file content of file2 [0001.hk, > 0002.hk, 0003.hk, 0005.hk]. > > The result should be +0005.hk, -0004.hk
Ok, this is helpful. Thanks. If the file content were to be scrambled a bit (say, like 0005.hk shows up first in the file), should that affect the answer you want? _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor