My python code is taking a long time to run and I need to close the computer for a moment without stopping the current console. I am using Spyder. Is there a way to pause execution and start it again where it was paused without restarting it from the beginning? I am not referring to setting breakpoints before the code is run, I want to be able to pause the code during execution.
Notice that Ctrl + S in this version is save as and Ctrl + Q is quit, so this method didn't work. If you have another method it would be very helpful to me. Thanks!