title: Hiding the console while executing a script on Windows
body: <p>How can I make my console hide while executing a script? I want to make a separate function to do it (maybe by applying some methods from <code>os</code>/<code>sys</code>, I don't know), so I do not need some solutions like changing script extension from <code>.py</code> to <code>.pyw</code>.</p>