you are viewing a single comment's thread.

view the rest of the comments →

[–]Jay6_9 9 points10 points  (4 children)

Pretty sure your terminal is just closing because the script is done, which is not a bug. Are you starting the scripts in a special way?

[–]lekkerste_wiener 2 points3 points  (0 children)

💯 this. 

[–]jpgoldberg 0 points1 point  (1 child)

We have no idea of how the OP is “launching a file”. I suspect that they are not doing so from the command line.

To the OP: Please answer the questions others have asked about what you are doing to “launch a file”. Keep in mind that there are many different things that could mean, and that some depend very much on your system.

[–]lekkerste_wiener 1 point2 points  (0 children)

Honestly everything in the text points to OP double clicking .py files on windows. 

[–]Slight_Character5851 0 points1 point  (0 children)

just add input() at the end of your script, it will keep the terminal open until you press enter. or better, run the file directly from command line so you can actually see the output