25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
clintermission/examples/simple1.py

15 lines
266 B

#!/usr/bin/env python3
from clintermission import CliMenu
def main():
q = ["Foo", "Bar", "Baz baz baz baz baz"]
m = CliMenu(q, "Time to choose:\n")
m.get_selection()
print("You selected", m.get_selection())
if __name__ == '__main__':
main()