Better Python input with Rich

preview_player
Показать описание

Get the Jupyter notebook for this video, and all of my videos, at

Рекомендации по теме
Комментарии
Автор

Is there anyway in rich prompt to easily implement an alternative choice in the choice list? Say substitute yes for y or implement some str startswith logic?

redsolaris
Автор

George Harrison is my favorite Beatle too

xash