pattern search

Wojciech Muła wojciech_mula at poczta.null.onet.pl.invalid
Tue Mar 27 11:34:15 EDT 2007


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.



More information about the Python-list mailing list