Reputation: 2165
How do you get all partitions and their info (total space, free space etc.) with Python on Windows? Thi example shows how to get free space, but you must know partitions/folders... I would like to get info for all partitions (maybe except CD-ROMs).
Upvotes: 1
Views: 3680
Reputation: 50947
Check out the WMI module. There are many recipes in the WMI cookbook, including
Upvotes: 1