import win32api
import os
s = 0
drives = win32api.GetLogicalDriveStrings()
drives = drives.split('\000')[:-1]
for disks in drives:
str(disks)
for d, dirs, files in os.walk(disks):
for f in files:
path = os.path.join(d,f)
print (path)
s = s + 1
print(str('На вашем компьютере'), + int(s) + ' ' + str('файлов'))