Answers for "search whole drive for a file in python"

0

search whole drive for a file in python

import glob

# path to search file
path = '.'
for file in glob.glob(path+"/*.html", recursive=True):
    print(file)


Copy Code
Posted by: Guest on April-19-2022

Code answers related to "search whole drive for a file in python"

Python Answers by Framework

Browse Popular Code Answers by Language