faqts : Computers : Programming : Languages : Python : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 12 people (33%) answered Yes
Recently 0 of 3 people (0%) answered Yes

Entry

Is there any way to set a time-out interval when reading URLs?

May 24th, 2000 06:29
unknown unknown, Oleg Broytmann


Possible ways: use multiprocessing (forking or multithreading); use
non-blocking sockets and select(); use asyncore library.