I am using Python2.6. I am trying to list the disk drives that a system may have.
On Windows, it may be something like C:/
, D:/
, E:/
, etc. On Linux, it may be something like /boot
, /media/SDCard
, etc. And I don't know what it's like on a Mac. Maybe something under /Volumes.
Does anyone know of a cross platform way (that is, one which works on Linux, Windows and Mac) in Python?
Thanks!