Try the os module.  I think this should probably get you there.
http://docs.python.org/lib/module-os.html

Miles Stevenson wrote:

>I would like to search filesystem structures using globs on Posix
systems from 
>within Python. I don't see an obvious method to do this with in the
standard 
>modules. What is the preferred way of doing this? Should I just use
the find 
>command or is there a good module out there for searching?
>
>Thanks.
>  
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to