How to make a Windows 10 computer go to sleep with a python script?

后端 未结 3 717
青春惊慌失措
青春惊慌失措 2020-12-09 14:05

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

3条回答
提交回复
热议问题