How to Make a CLI in Python
Автор: PageKey
Загружено: 2023-02-16
Просмотров: 2565
Описание:
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
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: