Easy Python CLI!

Publicado el: 05 febrero 2022
en el canal de: Alfredo Deza
455
5

Build a very simple command line tool with Python without using external dependencies or frameworks. In this video you'll see how with just a few lines of Python you can transform a file into a script with a help menu.

00:00 Introduction
01:02 Use this trick to convert the script into CLI tool
01:32 Consume or pass an argument on the command-line
02:20 Check arguments for the script with sys.argv
03:12 Create a help menu

Although you can create more powerful command-line tools with other frameworks like argparse or external libraries like Click, you can still implement a quick script without them that includes a help menu


En esta página del sitio puede ver el video en línea Easy Python CLI! de Duración hora minuto segunda en buena calidad , que subió el usuario Alfredo Deza 05 febrero 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 455 veces y le gustó 5 a los espectadores. Disfruta viendo!