andles creating new
directories for you. The documentation for the os.walk() contains an
example that could easily be modified to do what you want.
The documentation is your friend.
> Message: 8
> Date: Thu, 18 Sep 2008 08:50:58 +0100
> From: "Alan Gauld" <[EMAIL PROTECTED]>
"A. Joseph" <[EMAIL PROTECTED]> wrote
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
Which aspect is puzzling you
Hi,
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
rec