Problem with request module

python

#1

When i am using requests module (python), the program do not run correctly. It’s just like an infinity running, but when i run code via python console - everything is okay! How can i fixit it?