(directory, name)
| 20 | files = [] |
| 21 | |
| 22 | def append(directory, name): |
| 23 | if not name.startswith('.'): |
| 24 | path = os.path.join(directory, name) |
| 25 | files.append(path) |
| 26 | |
| 27 | for path in paths: |
| 28 | for directory, dirnames, filenames in os.walk(path, followlinks=True): |