问题
I created program that downloads web pages and processes them in multithreaded way (scraper). During the working of the program, the computer gets sleeps and enters into Stand-By mode.
I try adding various workarounds - adding time.sleep(), writing to a temp file, writing to the console and none of this prevented entering Stand-By mode. Since there is ongoing network activity, what else could I try?
来源:https://stackoverflow.com/questions/7671052/multithreaded-python-urllib2-based-downloader-drives-the-computer-to-standby-sle