# How to iterate over files in directory using Python # import required moduleimport os# assign directorydirectory = 'files'# iterate over files in# that directoryfor filename in os.listdir(directory):    f = os.path.join(directory, filename)    # checking if it is a file    if os.path.isfile(f):        print(f)