Replies: 1 comment
-
Here's the example from the docs - looks like you need to move your code around a bit. from rich.prompt import Prompt
name = Prompt.ask("Enter your name", choices=["Paul", "Jessica", "Duncan"], default="Paul") |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm just trying out
rich
to select from a list of options.When I run this, all it does is print out:
I thought
show_choices
is supposed to print out a list of choices, so you can see them to select from? It defaults toTrue
and I'm explicitly setting it as well.How is this supposed to work?
Beta Was this translation helpful? Give feedback.
All reactions