How to make a Windows 10 computer go to sleep with a python script?
<p>How can I make a computer sleep with a python script? </p>

<p>It has to be <em>sleep</em>, not hibernate or anything else.</p>

<p>I have tried to use <code>cmd</code> but there is no command to sleep or I didn't find one.</p>