replacing choice.exe function with python script..

Blake Garner trodemaster at gmail.com
Tue Jun 20 02:34:28 EDT 2006


Hi list,I'm looking for suggestions to replace choice.exe on windows with a
python script.

With choice.exe you can ask for input from the command line. Then
choice.exewill set a variable that can later be used to do usefull
things. The tricky
part is that it allows you to set a default selection that will be entered
after a timeout.
Anybody have some code examples or suggestions?

some details on how choice.exe works..
http://www.ss64.com/nt/choice.html

Blake-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060619/0242cf42/attachment.html>


More information about the Python-list mailing list