[Solved] How to search for each keyword from file1 in file2 and return the number of times it was found? [closed]
Well this is simple. Ill only do it for the First File, but to show how many times it comes up, you can count, but this is a one word per line test. import os file1 = open(“file1.txt”, “r”) # Make sure you added the keywords in beforehand file2 = open(“file2.txt”, “r”) #These will open … Read more