08-04-2010, 03:14 PM
I used to know how to prevent this, but now I haven't used python forever and I have no idea
Does anyone know how to stop it from closing?
Does anyone know how to stop it from closing?
Window closes when opened
|
08-04-2010, 03:14 PM
I used to know how to prevent this, but now I haven't used python forever and I have no idea
Does anyone know how to stop it from closing?
08-09-2010, 10:26 PM
You are double clicking the python file?
If so you are getting an error. To stop it either use IDLE (The IDE that comes with Python) or run it through the command prompt.
08-10-2010, 08:43 PM
I found out a while ago, and yeah it was an error
But just for people who have problems with it closing right when it ends Code: import os makes it stay open until you close it
08-11-2010, 12:04 AM
Or you could use raw_input("") so the user has to press enter afterward.
08-11-2010, 12:41 PM
Pause does the same thing?
08-11-2010, 01:07 PM
If you put raw input you can close it by just pressing enter.
It's easier IMO. |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
How to display variable serial data on Tkinter window. | srinivas.rambha | 0 | 1,029 |
06-17-2013, 05:54 AM Last Post: srinivas.rambha |