Question: how to read many files in python?
Answer: from itertools import zip_longest.
import glob.
# Find all *. txt files in the directory.
file_name_list = glob. glob('*. txt')
# Try to open all of the file.