Hi,

How would you list the file system roots in Python? That is, I'm looking
for a way to list all connected drives (C:, D: etc) on a Windows box, or
all /root, /tmp etc on a *nix box. In Java, there's a built-in API
function to do this, File.listRoots(), but I couldn't find any
equivalents in the Python libraries.

Kind regards,
Einar
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to