for to access all the files in a folder using python code example Example: python get all file names in directory import glob print(glob.glob("/home/adam/*.txt"))