[EMAIL PROTECTED] wrote:
> I have a path spec similar to '/home/*/.mozilla/*/*/cache*/*' (this
> will probably look familiar to *nix users) with multiple wildcards. I
> am finding it difficult gathering ALL file pathnames which match this
> spec. Can anyone shed some light on this for a python noob?

import glob
glob.glob('/home/*/.mozilla/*/*/cache*/*')
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to