Deleting files with wildcards

Manfred Pisecky pisecky at tttech.com
Wed Jul 26 11:36:10 EDT 2000


Hello everyone!

I have to delete a bundle of files, e.g. *.txt in a portable way (it
must work for Linux and NT). 

I use Python 1.5.2. and have not found a way to either delete files
with wildcards or to read the directory content (and do it file by
file).

Is there a portable way in 1.5.2 ?

Thanks,
Manfred Pisecky



More information about the Python-list mailing list