Re: os.walk(entire filesystem)

2005-03-11 Thread Simon Brunning
On Thu, 10 Mar 2005 20:11:10 +0100, Uwe Becher <[EMAIL PROTECTED]> wrote: > You would need a wrapper to retrieve all logical drives using > win32api.GetLogicalDriveStrings(),check the drive type with > win32file.GetDriveType() and then os.walk() those local fixed drives. http://groups-beta.google.

Re: os.walk(entire filesystem)

2005-03-10 Thread Uwe Becher
rbt wrote: More of an OS question than a Python question, but it is Python related so here goes: When I do os.walk('/') on a Linux computer, the entire file system is walked. On windows, however, I can only walk one drive at a time (C:\, D:\, etc.). Is there a way to make os.walk() behave on Wi

Re: os.walk(entire filesystem)

2005-03-09 Thread Grumman
Tobiah wrote: When I do os.walk('/') on a Linux computer, the entire file system is walked. On windows, however, I can only walk one drive at a time (C:\, D:\, etc.). If this is a personal utility for one computer, and if you run XP on that computer, then you have the ability to mount secondar

Re: os.walk(entire filesystem)

2005-03-09 Thread Larry Bates
I don't think what you want would even work. You can't walk A: unless a floppy is present, O/S will bark at you. You can't walk D: (cdrom drive) unless a CDROM is present. What about network drives??? Unlike Linux where these directories appear to be empty if nothing is mounted Windows tries to

Re: os.walk(entire filesystem)

2005-03-09 Thread Tobiah
When I do os.walk('/') on a Linux computer, the entire file system is walked. On windows, however, I can only walk one drive at a time (C:\, D:\, etc.). If this is a personal utility for one computer, and if you run XP on that computer, then you have the ability to mount secondary drives on to

Re: os.walk(entire filesystem)

2005-03-09 Thread Peter Hansen
rbt wrote: More of an OS question than a Python question, but it is Python related so here goes: When I do os.walk('/') on a Linux computer, the entire file system is walked. On windows, however, I can only walk one drive at a time (C:\, D:\, etc.). Is there a way to make os.walk() behave on Wi

os.walk(entire filesystem)

2005-03-09 Thread rbt
More of an OS question than a Python question, but it is Python related so here goes: When I do os.walk('/') on a Linux computer, the entire file system is walked. On windows, however, I can only walk one drive at a time (C:\, D:\, etc.). Is there a way to make os.walk() behave on Windows as it