En Thu, 10 May 2007 17:03:13 -0300, <[EMAIL PROTECTED]> escribió: > I tried the trick but the error stays. I really don't know what to do > anymore. > > And what about the print function. Why does it print newline even if > there is colon after variable? I'm lost. > > I'm using Eclipe enviroment and Pydev for it. My python interpreter is > 2.5.1.
To see exactly what you get, use repr(my_input). I think that you will get 'else\n' Try again using my_input = raw_input("...").strip() as Peter Otten suggested before -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list