I am trying to make an exit button with the code I do import tkinter* in here and I got the error I know that I cant put tkinter inside the code b ...
I am trying to make an exit button with the code I do import tkinter* in here and I got the error I know that I cant put tkinter inside the code b ...
I have a C program where I run 3 branches of code: 2 that i started through pthread_create and the normal one. I am wondering how to correctly protect ...
I want to have logic that triggers right before my UWP process is exited or gracefully killed. Is there anything that may accomplish what I wish to do ...
Before the program has been running normally, after the cloud desktop is updated, all programs will stop with "Process finished with exit code -1". I ...
look at this code const code = "..." // can be anything, it is unknown const func = new Function(code) // run `func` and ignore possible errors in ...
Till today my understanding of the concepts function and return statement was like this: When the control reaches the end of a function, the contr ...
Im trying to ask user for input to choose soda in loop but i want to be able to ask user what soda user want to buy then loop and ask user again or ex ...
I am writing a (simple) blackjack game, and I'm using the following code to give the user the option to play again until they decide they don't want t ...
I need a way so user can exit the program by pressing escape button, so CancelKeyPress event doesn't work here. It is very important that the user can ...
**I need help in this code its simple code about bounded buffer problem using multiple producers and consumers its working and there are no issues wit ...
I have this simple dummy script called test1 ` It calls another script (note we are not spawning here, but sourcing) Since test1.sh is sourcing ...
Im having trouble figuring out what loop to use and where to place it so that it prompts a user for an input. If the input is -1 it should exit the pr ...
i want to make an 1 hour delay after my strategy hit stop loss or take profit. Here is an example that is not working, would you explain me why or fig ...
Xamarin.Forms.Android application reopens itself on clicking the QuitButton after sleep mode. (The issue is not happening when I remove the SplashScre ...
I have a case command that has several options and one of them is for failed storage space size. Is exec $SHELL the best wasy to exit the script or ...
I'm trying to understand how to close things in my script but if I make a frame to contain tkinter's widgets and stuff, when I run the code no object ...
I am running a python script inside a kubernetes pod with kubectl exec -it bash.Its a long running script which might take a day to complete.i execute ...
I'm new to PyQt6 and have ran into an issue which makes coding very tedious: when I close the application I'm working on using CMD+Q or the menu bar, ...
I would like to stop my php code when a condition is not valid. Example: i would like stop the php code if the first condition is not met that it ...
I got this code to do just what i want to do, the only problem is, i can only continue the loop and do it all over again but i cannot exit it. Ive bee ...