Skip to content
Advertisement

Running Program from Folder File

I find my created python file in the windows folder. I double click to run where I only get the window. I enter the information and never see the output result. The window closes too fast. What is a good way to stop this or pause the window?

Advertisement

Answer

Add input("Please plress Enter to exit") . This will display the line as well as close when enter is pressed. I hope it helps

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement