regexp help

Simon Brunning simon at
Wed Nov 4 17:43:48 CET 2009

2009/11/4 Nadav Chernin <Nadav.C at>:
> I’m trying to write regexp that find all files that are not with next
> extensions:  exe|dll|ocx|py,  but can’t find any command that make it. should be a good start.
Use the re module and your regex instead of fnmatch.filter(), and you
should be good to go.

Simon B.

More information about the Python-list mailing list