Usually CLI tools have really poor interactivity.
In this tutorial we will use the equivalent of radio-buttons and check-boxes in a simple Python command-line program, to enable single-choice selections as well as multiple-choice (multiple options) selections.
All this, in just a few lines of code, with the help of "questionary"
0:00 intro
0:18 summary
1:10 setup and single select
3:22 multiple choice from file
6:27 combination
10:40 closing
questionary on PyPi https://pypi.org/project/questionary/
https://github.com/codercave
/ codercave
https://codercave.tv
Python / CLI / command line interface / multiple choice / single choice / how to / questionary
Sur cette page du site, vous pouvez voir la vidéo en ligne how to build interactive command line tools (quick and easy) with python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Coder Cave 11 août 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,553 fois et il a aimé 52 téléspectateurs. Bon visionnage!