import os
import time

def walkdir(folder):
    #Walk through each files in a directory
    for dirpath, dirs, files in os.walk(folder):
        for filename in files:
            print(filename)
            yield os.path.abspath(os.path.join(dirpath, filename))

dir = input("Give a testing directory: ")

for filepath in walkdir(dir):
    time.sleep(0.1)
261485733d04b3a60519c86e5545a0dff245a808
<mask token>


def walkdir(folder):
    for dirpath, dirs, files in os.walk(folder):
        for filename in files:
            print(filename)
            yield os.path.abspath(os.path.join(dirpath, filename))


<mask token>

<mask token>


def walkdir(folder):
    for dirpath, dirs, files in os.walk(folder):
        for filename in files:
            print(filename)
            yield os.path.abspath(os.path.join(dirpath, filename))


<mask token>
for filepath in walkdir(dir):
    time.sleep(0.1)

<mask token>


def walkdir(folder):
    for dirpath, dirs, files in os.walk(folder):
        for filename in files:
            print(filename)
            yield os.path.abspath(os.path.join(dirpath, filename))


dir = input('Give a testing directory: ')
for filepath in walkdir(dir):
    time.sleep(0.1)

import os
import time


def walkdir(folder):
    for dirpath, dirs, files in os.walk(folder):
        for filename in files:
            print(filename)
            yield os.path.abspath(os.path.join(dirpath, filename))


dir = input('Give a testing directory: ')
for filepath in walkdir(dir):
    time.sleep(0.1)

import os
import time

def walkdir(folder):
    #Walk through each files in a directory
    for dirpath, dirs, files in os.walk(folder):
        for filename in files:
            print(filename)
            yield os.path.abspath(os.path.join(dirpath, filename))

dir = input("Give a testing directory: ")

for filepath in walkdir(dir):
    time.sleep(0.1)