title: How to shutdown a computer using Python
body: <p>I've written a Python script which should eventually shutdown the computer. </p>
  
  <p>This line is a part of it :</p>
  
  <pre><code>os.system("shutdown /p")
  </code></pre>
  
  <p>It makes some sort of a shutdown but remains on the turn-on Windows control pannel (where the user can switch the computer users). </p>
  
  <p>Is there a way to fully shutdown the computer? </p>
  
  <p>I've tried other <code>os.system("shutdown ___")</code> methods with no success.</p>
  
  <p>Is there another method which might help?</p>