I wrote application with xmpp. It sending message from gtalk. I want to
print received message. How can i do? My application short code as follows.
def process_message():
client = xmpp.Client('gmail.com')
client.connect( server=('talk.google.com',5223) )
client.auth(user,passwd, 'botty')
to = raw_input("to: ");
if client:
message = raw_input("message: ")
client.send( xmpp.Message( to,message ) )
if __name__ == "__main__":
user = raw_input("User: ")
passwd = getpass.getpass("Pass: ")
process_message()
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor