[Twisted-Python] Writing a plug-in for an online game that uses UDP
ibmub80 at yahoo.com
Mon Jul 26 14:01:36 EDT 2004
--- Jp Calderone <exarkun at divmod.com> wrote:
> Ibrahim Mubarak wrote:
> > self.iiwuservice.logUser(user, pswd, host,
> > host, port))
> The above line is a problem. I believe you want it to read:
You are 100% right. I can't believe I made that mistake as I was reading the docs when writing
this, hehe. But now I have another problem. This time is with the callback function never being
Here is a small script that I worte and executed it with "...$ python deferredExample.py" :
from twisted.enterprise import adbapi
dbpool = adbapi.ConnectionPool("MySQLdb", 'iiwu_database', 'login', 'password')
return dbpool.runQuery("SELECT name, pswd, ip, port FROM users WHERE name = ?", user)
print "No such user"
print "\nEND OF FILE\n"
I do see the "END OF FILE" printed, but that's it. Do you have any idea what is going on?
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
More information about the Twisted-Python