Re: [Twisted-Python] Looping
4 Jan
2009
4 Jan
'09
10:08 p.m.
"Robert" == Robert Hancock
writes:
Robert> I want to put this into a loop and run it as a daemon, but the Robert> looping is causing me a problem. I've tried making the above into Robert> a procedure (minus the stop working call back and reactor.run()) Robert> and it does not run. Any suggestions on how to encapsulate this Robert> into loop would be gratefully appreciated. It's hard to help unless you post more of your code or are more specific. What do you mean "the looping is causing me a problem"? How many urls are in url_tuples? Is there a reason why you're using just one deferred? Also why not use client.downloadPage to put the contents into files? Terry
5560
Age (days ago)
5561
Last active (days ago)
6 comments
5 participants
participants (5)
-
Andy Fundinger
-
Drew Smathers
-
Rob Hoadley
-
Robert Hancock
-
Terry Jones