I am looking for a way out of Pygmal shell without the fort?
I'm talking about
print ("hello") print ("press any key to exit") ex = Raw_input ("") Do not prompt the dragon shell command for windows. This is a popup that I want to ignore and close the program after hitting any key.
< Div class = "post-text" itemprop = "text">
Exit bracket to call call function (). As it is now, it is not executing it as a function.
The following commands will exit the script without showing the prompt, but you will still need to exit your own IDLE. ("Hello") Print ("Press any key to exit") ex = raw_input ("") os._exit (0)
Comments
Post a Comment