[Twisted-Python] Mysql and adbapi

HawkOwl hawkowl at atleastfornow.net
Mon Oct 20 06:02:13 MDT 2014


On 20 Oct 2014, at 19:55, aft <aftnix at gmail.com> wrote:
> 
> But its not printing anything. What exactly i'm doing wrong?

Hi,

You haven’t started the reactor, so nothing has “started”. It’s just sitting there, waiting for it to be “spun off”.

http://twistedmatrix.com/documents/current/_downloads/echoclient_ssl.py

Try using react, as detailed in this example — you should put your code in a similar main() block.

-hawkie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: </pipermail/twisted-python/attachments/20141020/39c231ef/attachment.sig>


More information about the Twisted-Python mailing list