[EMAIL PROTECTED]
| And when we are at this, how to find out a list of mounted filesystems
| under MS Windows? (yes, I know, there is a difference between cygwin
| python and native port, and the term "mounted" is not used in 
| MS Windows
| world much)

WMI will do it under Win32. (Don't know about Cygwin).

<code>
import wmi

for d in wmi.WMI ().Win32_LogicalDisk ():
  print d.Caption, d.Description, d.ProviderName

</code>

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to