2 May
2003
2 May
'03
5:54 p.m.
On 02 May 2003 09:33:38 -0500 Justin Ryan <justin@gnubia.net> wrote:
Well, I think it was a misconception on my part.. It does seem as if the reactor is not _designed_ to be used in short 'scripts' like this one, but I wasn't aware you could call reactor.stop().
Not true. All of the examples in doc/examples/ are short scripts. Apparently you just aren't using it correctly. You just need to understand how event driven programming works. Once you make that conceptual leap, it's all pretty trivial. -- Itamar Shtull-Trauring http://itamarst.org/ http://www.zoteca.com -- Python & Twisted consulting