Get Drive Information Using Python
- This is a two line easy code to connect
your python to command prompt and execute cmd instructions to get drive
information and other information as well.
Source Code:
#Follow @Programmerfect
import os
os.system('cmd /k "wmic logicaldisk list brief"')
Output: