Re: Get the input from user

2006-04-03 Thread Alex Martelli
<[EMAIL PROTECTED]> wrote: > hi, > I am doing example of address book.when user enter stop and presses > enter my loop should stop.But there is some prob in my loop.It is > accepting \r after pressing Enter key.How do i check end of input : > addressbook={} > name = raw_input("Enter Name

Get the input from user

2006-04-03 Thread sushant . sirsikar
hi, I am doing example of address book.when user enter stop and presses enter my loop should stop.But there is some prob in my loop.It is accepting \r after pressing Enter key.How do i check end of input : addressbook={} name = raw_input("Enter Name (stop to Finish)") name = EnterAddress