On 9 Jun 2006 17:44:42 -0700, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> actually, i am doing an application that allows user to delete files by
> entering an input pattern.

If you are looking to match filenames, you might want to have a look
at the fnmatch and glob modules. The patterns that they support are
less powerful and flexible than regex patters, but much simpler, and
specifically designed with filename matching in mind.

-- 
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonline.net/simon/blog/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to