for filename in glob.glob('file.txt'):
    with open('plain text - preprocesshurricane.txt', 'a') as outfile:
        with open(filename, 'r') as infile:
            for tweet in infile.readlines():
                temp = tweet.split(' ')
print('{}'.format(' '.join(temp[7:])))
Как получить подстроку из текстового файла в python?