File size: 183 Bytes
3e36cbf
 
 
 
 
 
1
2
3
4
5
6
import os

def absoluteFilePaths(directory):
    for dirpath,_,filenames in os.walk(directory):
        for f in filenames:
            yield os.path.abspath(os.path.join(dirpath, f))