Please use the below script to get properties of disk partition
import os
os.popen('echo list disk > script.txt').read()
os.popen('echo select disk 0 >> script.txt').read()
os.popen('echo list partition >> script.txt').read()
print os.popen('diskpart /s script.txt').read()
os.popen('del script.txt').read()
Sample Output: