On Mar 20, 8:19 am, igbt <[EMAIL PROTECTED]> wrote: > However, if you don't enter anything the > script works but if you enter a dot (.) the script does not work.
Have you tried it with other non-metacharacter values? > sss = entryName.get_text() # The script gets the text > if sss == "" or sss == ".": > gtk.main_quit() #The script finishes > Try adding this: else: print sss, type(sss) Good luck! Daniel -- http://mail.python.org/mailman/listinfo/python-list