python get full path of all files in directory code example
Example 1: get full path of file python
>>> import os
>>> os.path.abspath("mydir/myfile.txt")
'C:/example/cwd/mydir/myfile.txt'
Example 2: how to get all folders on path in python
os.walk(directory)
[x[0] for x in os.walk(directory)]