On Mar 27, 3:13 pm, Fabian Braennstroem <[EMAIL PROTECTED]> wrote: > Hi to all, > > Wojciech Mu?a schrieb am 03/27/2007 03:34 PM: > > > Fabian Braennstroem wrote: > >> Now, I would like to improve it by searching for different 'real' > >> patterns just like using 'ls' in bash. E.g. the entry > >> 'car*.pdf' should select all pdf files with a beginning 'car'. > >> Does anyone have an idea, how to do it? > > > Use module glob. > > Thanks for your help! glob works pretty good, except that I just > deleted all my lastet pdf files :-( > > Greetings! > Fabian
Then I shudder to think what might have happened if you had used re's! :) -- Paul -- http://mail.python.org/mailman/listinfo/python-list