Deleting files by type in Python on Windows
Posted
by choszen
on Stack Overflow
See other posts from Stack Overflow
or by choszen
Published on 2009-06-13T19:00:23Z
Indexed on
2010/05/24
12:51 UTC
Read the original article
Hit count: 182
I know how to delete single files, however I am lost in my implementation of how to delete all files in a directory of one type.
Say the directory is \myfolder
I want to delete all files that are .config files, but nothing to the other ones. How would I do this?
Thanks Kindly
© Stack Overflow or respective owner