INNER CODE UNIT · Python
logo
AabyssZG/FindEverything · FindEverything-notqdm.py:7
def logo():
logo0 = r'''
_______ ______ _____ ____ __
/ ____(_)___ ____/ / __ \/ ___/ / __ \__ __/ /_
/ /_ / / __ \/ __ / / / /\__ \______/ / / / / / / __/
/ __/ / / / / / /_/ / /_/ /___/ /_____/ /_/ / /_/ / /_
/_/ /_/_/ /_/\__,_/\____//____/ \____/\__,_/\__/
'''
print(logo0)
def search_files(directory, extensions):
files = []
for root, _, filenames in os.walk(directory):
for filename in filenames:
for extension in extensions:
if filename.endswith(extension):
files.append(os.path.join(root, filename))
return files