remove item from list based on name

Bart Nessux bart_nessux at hotmail.com
Thu May 27 15:03:44 EDT 2004


Hi,

I am generating a list of file names... some of the files are locked by 
the OS (Windows XP) and I know the names of these files (NTUSER.DAT, 
ntuser.dat.LOG, etc.) But, I don't know their position in the list. Is 
there a way that I can delete these items from the list based on their 
names?

Thanks,
Bart



More information about the Python-list mailing list