Am 22.11.2010 22:43, schrieb Martin Lundberg:
Hi,

I want to be able to let the user enter paths like this:

apps/name/**/*.js

and then find all the matching files in apps/name and all its
subdirectories. However I found out that Python's glob function
doesn't support the recursive ** wildcard. Is there any 3rd party glob
function which do support **?

Regards,

Martin Lundberg

os.walk() or os.path.walk() can be used.
You need to traverse the file system.
AFAIK there is no support for this.

<<attachment: stefan_sonnenberg.vcf>>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to