regexp and filenames

Miki Tebeka tebeka at cs.bgu.ac.il
Wed Jul 9 08:43:30 EDT 2003


Hello,

> > I'm familiar with regexp, but I've only used it in Python to act on
> > the contents of a file, not filenames in a directory. Any pointers on
> > how to approach this are welcome!
http://www.python.org/doc/current/lib/module-glob.html
and
http://www.python.org/doc/current/lib/module-fnmatch.html

HTH.
Miki




More information about the Python-list mailing list