I am running a python program that takes a few hours to complete. If I close the lid of my laptop (ie I put it to sleep), will the program start again when I reopen my laptop? It's been a few hours already and I have to leave soon (so I need to close my laptop) but I don't want to start the process again. Will the program start from the exact same point? What is the default behaviour in Ubuntu 16.04?
Fyi, I am running a cross validation for a classifier which does not use any network resources - only CPU and RAM.