Re: [Tutor] Additional help

2013-02-11 Thread Ahmet Can KEPENEK
Hello, I used regular expression module of python. I checked binary and denary numbers. If input is invalid i ask again. I edited your code. Code is below follow as . import re def show_menu(): print("===") print("1-binary to denary") print("2-denary to binary") print("3-e

[Tutor] Python Xmpp Received Message

2012-09-06 Thread Ahmet Can KEPENEK
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, 'bot