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
Auf dieser Seite können Sie das Online-Video how to build interactive command line tools (quick and easy) with python mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Coder Cave 11 August 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,510 Mal angesehen und es wurde von 51 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!