Cómo buscar en un archivo en Windows 10 usando Python
import os
def find_files(filename, search_path):
result = []
# Wlaking top-down from the root
for root, dir, files in os.walk(search_path):
if filename in files:
result.append(os.path.join(root, filename))
return result
print(find_files("smpl.htm","D:"))
Scary Sloth