Want to use your Python program as its own executable? It's pretty easy to do - watch on!
If you're in a hurry, all of the code from this video can be found here: https://github.com/pagekeytech/educat...
PageKey Tech is a channel where we take back tech by building our own versions of the products and services we all use every single day.
How-Tos Playlist: • How to Make a CLI in Python
If you want to get involved in contributing, consider joining our Discord:
/ discord
We can discuss what you want to work on and get you involved!
Timestamps:
0:00 Intro
0:13 Overview
0:40 Step 1: Add project skeleton
1:58 IMPORTANT: adding entry_points
2:54 Step 2: Add source code
3:20 Step 3: Make sure it works
4:01 Step 4: BONUS: Set up argparse
4:15 Writing sample lib code
5:00 Setting up parser
5:33 Adding subparser
6:14 Handling the args
7:11 Showing off the finished product
7:45 Wrap-up
En esta página del sitio puede ver el video en línea How to Make a CLI in Python de Duración hora minuto segunda en buena calidad , que subió el usuario PageKey 16 febrero 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 3,757 veces y le gustó 80 a los espectadores. Disfruta viendo!