List of disk drives on Windows?

Bob Greschke bob at passcal.nmt.edu
Thu May 22 13:32:13 EDT 2008


On 2008-05-20 13:18:08 -0600, Bob Greschke <bob at passcal.nmt.edu> said:

> This MUST have been asked before, but I can't seem to Google the right 
> thing.  How can I get a list of drives on a Windows box, like ["C:\", 
> "D:\"], like I can if I do something like listdir("/Volumes") on a Mac?
> 
> Thanks!
> 
> Bob

Thanks for the ideas, guys!  It's off to the emacs...





More information about the Python-list mailing list