REPOST: Re: Reg-Ex and lambda optimization

Dave Pawson DaveP at
Sun Dec 30 08:47:17 CET 2001

"MikeCrowe" <mikecrowe at> wrote in
news:mailman.1009670854.26405.python-list at 

> Hi folks,
> New to Python, and had this question.  I couldn't figure out how to
> read a directory and filter the results by what I wanted.  I basically
> wanted to read: 
>     dir\db*.*

Daft name, great module though,
look for glob() in your documentation.

 Unsure how I found it with a name like that,
but boy does it do the business! Keep the re package
for file contents, and scour the documentation.


========= WAS CANCELLED BY =======:
From: Dave Pawson <DaveP at>
Newsgroups: comp.lang.python
Subject: cmsg cancel <Xns91874F2699546davePdpawsonfreeserv at>
Control: cancel <Xns91874F2699546davePdpawsonfreeserv at>
Date: Mon, 31 Dec 2001 02:16:27 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.Xns91874F2699546davePdpawsonfreeserv at>
X-Trace: 1009774327 27193 (31 Dec 2001 04:52:07 GMT)
X-Complaints-To: usenet at
NNTP-Posting-Date: Mon, 31 Dec 2001 04:52:07 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)

This message was cancelled from within Mozilla.

More information about the Python-list mailing list