#!/usr/bin/python

import os
from fnmatch import fnmatch

root = '/samba-test/'
extension = "*.csv"

for path, subdirs, files in os.walk(root):
    for name in files:
        if fnmatch(name, extension):
            print (os.path.join(path, name))
            

c17ee588566ebcc42ddea4fd2dd43d74152cbe32
<mask token>

<mask token>
for path, subdirs, files in os.walk(root):
    for name in files:
        if fnmatch(name, extension):
            print(os.path.join(path, name))

<mask token>
root = '/samba-test/'
extension = '*.csv'
for path, subdirs, files in os.walk(root):
    for name in files:
        if fnmatch(name, extension):
            print(os.path.join(path, name))

import os
from fnmatch import fnmatch
root = '/samba-test/'
extension = '*.csv'
for path, subdirs, files in os.walk(root):
    for name in files:
        if fnmatch(name, extension):
            print(os.path.join(path, name))

#!/usr/bin/python

import os
from fnmatch import fnmatch

root = '/samba-test/'
extension = "*.csv"

for path, subdirs, files in os.walk(root):
    for name in files:
        if fnmatch(name, extension):
            print (os.path.join(path, name))
            
