Removing objects in a list via a wild card
James Matthews
nytrokiss at gmail.com
Wed Sep 19 14:51:33 EDT 2007
Hi List
I have a list of files from my current directory:
import os
files = os.listdir(os.getcwd())
Now this list also includes some files that i don't want like my python
files... How would i remove them
Thanks
James
--
http://www.goldwatches.com/
http://www.jewelerslounge.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070919/ce0bbd54/attachment.html>
More information about the Python-list
mailing list