How can I make a computer sleep with a python script?
It has to be sleep, not hibernate or anything else.
I have tried to use cmd but
cmd
set hdd close wait time = 0 in power options