Select one option from list

Sami Viitanen none at none.net
Thu Aug 7 09:32:14 EDT 2003


Hello,

Any ideas is there a script that asks user to select one option of list,
string..

Example: list = ['aaa', 'bbb', 'ccc']

Script acts something like this:

Select one option:
[1] aaa
[2] bbb
[3] ccc
Enter your selection:

---
Thanks in advance!






More information about the Python-list mailing list