how to read all files in a directory in python redhat code example Example: read all files in folder python import glob print(glob.glob("/home/adam/*.txt"))