[Python-il] py module for prompting user to select from list

Amit Dor-Shifer amitds at oversi.com
Tue Jun 23 11:19:55 IDT 2009


Hi.
Is there some common implementation in python for displaying to user an
enumerated  list of items, and then prompt her to select one by
selecting the item's number?

Something along the lines of:

Here are the available items:
[1] a
[2] b
[3] c
Please select [1-3]:
>

Amit


More information about the Python-il mailing list