# How to iterate over files in directory using Python 
# import required module
import os
# assign directory
directory = 'files'


# iterate over files in
# that directory
for filename in os.listdir(directory):
    f = os.path.join(directory, filename)
    # checking if it is a file
    if os.path.isfile(f):
        print(f)