Answers for "get the name of all files in a computer in python"

0

get the name of all files in a computer in python

import glob

print('Inside current directory')
files = glob.glob("D:\\**",recursive=True)
for item in files:
    print(item)
Posted by: Guest on April-19-2022

Code answers related to "get the name of all files in a computer in python"

Python Answers by Framework

Browse Popular Code Answers by Language