[python-win32] How can I get total size of hard disk?
Tim Golden
tim.golden at viacom-outdoor.co.uk
Wed Apr 21 03:49:11 EDT 2004
>How can I get total size of hard disk?
[Seems like ages since I answered a question with: try WMI]
Try WMI:
http://tgolden.sc.sabren.com/python/wmi_cookbook.html#percentage_free
Depending on exactly whay you're looking for, you might
want to look at:
Win32_DiskDrive
Win32_LogicalDisk
Win32_DiskPartition
TJG
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________
More information about the Python-win32
mailing list