Im Tyring to Delete all Files in E:. with wildcard.
E:\\test\\*.txt
I would ask rather than test the os.walk. In windows.
You could use popen for this as well if you want to do it in fewer lines
from subprocess import Popen proc = Popen("del E:\test\*.txt",shell=False)