I have created an exe using pyinstaller.
In which I want to know the size of the SSD and HDD which are installed in the users system.
expected output in the below format { "hdd_size": "1.8TB", "sdd_size": "476GB" } How can I get these informations?
I have created an exe using pyinstaller.
In which I want to know the size of the SSD and HDD which are installed in the users system.
expected output in the below format { "hdd_size": "1.8TB", "sdd_size": "476GB" } How can I get these informations?
if u want to know the size of the disk, u can try this lib (psutil) i think psutil may help u
import psutil
disk_usage = psutil.disk_usage("C:\\")