[Twisted-Python] adbapi question

Itamar Shtull-Trauring itamar at itamarst.org
Fri May 2 13:54:52 EDT 2003


On 02 May 2003 09:33:38 -0500
Justin Ryan <justin at 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




More information about the Twisted-Python mailing list