Save Python script after screen lock (Win 7)

I am running a Python script that uses the requests library to get data from a service.

The script takes some time to finish, and I am currently running it locally on my Windows 7 laptop. If I lock the screen and leave, will the script continue (within ~ 3 hours) without disconnecting Windows from the Internet or stopping any processes ? Power settings are already set so that the laptop does not sleep.

If this eventually stops anything, how can I avoid it? Thanks.

+4
source share
2 answers

Until the computer gets to sleep, your process should continue to work.

+7
source

Check "Power" on the control panel. You do not need to worry about locking the screen or turning it off, as this does not affect running processes. However, if your system is set to sleep after a certain amount of time, you may need to change this to Never. Keep in mind that there are separate settings depending on whether the system is connected.

+2
source

All Articles