that is simple with sets, because it take care of the duplicates for you
Edit
with open('file1.txt',"a+") as file1, open('file2.txt') as file2:
new_words = set(file2) - set(file1)
if new_words:
file1.write('\n') #just in case, we don't want to mix to words together
for w in new_words:
file1.write(w)
Edit 2
If the order is important go with Max Chretien answer.
If you want to know the common words, you can use intersection
with open('file1.txt',"a+") as file1, open('file2.txt') as file2:
words1 = set(file1)
words2 = set(file2)
new_words = words2 - words1
common = words1.intersection(words2)
if new_words:
file1.write('\n')
for w in new_words:
file1.write(w)
if common:
print 'the commons words are'
print common
else:
print 'there are no common words'