2008/9/17 A. Joseph <[EMAIL PROTECTED]>:
> I want to search through a directory and re-arrange all the files into e.g
>
> All .doc files go into MS WORD folder, all .pdf files goes into PDF Folder.
>
> I`m thinking of doing something with the os.walk(path) method from os
> module, I need some ideal how the algorithm should look like, maybe
> recursive ..any deal?

This help?

http://code.activestate.com/recipes/499305/

-- 
Cheers,
Simon B.
[EMAIL PROTECTED]
http://www.brunningonline.net/simon/blog/
GTalk: simon.brunning | MSN: small_values | Yahoo: smallvalues | Twitter: brunns
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to