Why i get error?

When i run my script in schedule task, i get error "ReadTimeout: HTTPSConnectionPool(host='', port=443): Read timed out. (read timeout=10)" and the script stops.
Why? I put whole code in "try/except", error should not have been.
But in the console I get no errors, please help

Because you're not catching that particular exception? Because the exception is coming from a line that is not in your try/except?

Not sure about why it works in a console and not as a scheduled task, though. Could be one is running in a virtualenv and the other is not or that they're running different Python versions?

sorry for bothering, i'm wrong put indents, thanks)

Glad you worked it out :-)