title: Python exe file auto closes after double-clicked
body: <p>I've converted a python script to an exe file using pyinstaller, whenever I open the exe the program, it flashes for a second and automatically shuts down itself.</p>
  
  <p>The program is a simple one. Here's the code snippet:</p>
  
  <pre><code>print("Hello World")
  </code></pre>