Handling yes/no questions from the User

2006-03-21 Thread [EMAIL PROTECTED]
I'm writing a scipt that need to interact with the user. Lets say I have the: Do you want to continue [Y|n] Where just pressing return means Yes (since its uppercase). Its easy to write a function for this, but perhaps something like this already exists. Could someone point me to a class that

Re: Handling yes/no questions from the User

2006-03-21 Thread dwelch
[EMAIL PROTECTED] wrote: I'm writing a scipt that need to interact with the user. Lets say I have the: Do you want to continue [Y|n] Where just pressing return means Yes (since its uppercase). Its easy to write a function for this, but perhaps something like this already exists. Could

Re: Handling yes/no questions from the User

2006-03-21 Thread Steve
You need easygui: http://www.ferg.org/easygui/index.html -- http://mail.python.org/mailman/listinfo/python-list