How to prevent the script from stopping before it should

python at hope.cz python at hope.cz
Mon Jan 17 18:12:59 CET 2005


I have a script that downloads some webpages.The problem is that,
sometimes, after I download few pages the script hangs( stops).
(But sometimes it finishes in an  excellent way ( to the end) and
download all the pages I want to)
I think the script stops if the internet connection to the server (from
where I download the pages) is rather poor.
Is there a solution how to prevent the script from hanging before all
pages are downloaded?

Thanks for help
Lad.




More information about the Python-list mailing list